Results 1 to 10 of 14
-
06-04-2012, 20:45 #1
- Join Date
- Jun 2010
- Posts
- 1,357
[HowTo] Install and Configure the PRoCon.Service.exe as a Windows Service
Service installation
- Install PRoCon as normal and setup your Servers and Layers
- Make sure you can connect to your Layer Server when the Full Client or the Console is running
- Close PRoCon
- Open a CMD Prompt with Administrator Rights
- Run this command:
Code:C:\Windows\system32>sc create PRoConLayerService start= auto binpath= "E:\Procon \Procon_Instance\PRoCon.Service.exe" DisplayName= "PRoCon Layer Service"
"binpath" is the full path the PRoCon.Service.exe
Dont forget the whitespaces after the "=", it is necessary.
- If the command was correct you should get such an response.
Code:[SC] CreateService SUCCESS
- Now you service is ready to start.
Go to Services and start you service. - Have Fun!
Note:
- You might need to open the Ports in the Windows Firewall for the PRoCon.Service.exe
- You can change the User under which the service is running under the Log On Tab in the properties.
Tweaks:
Make the PRoCon.Service automatical restart if it fails
- Go to Services
- Rightclick on the Service then chose Properties
- Click on the third Tab "Recovery"
On this Page you can define how Windows should react if the service fails.
If you got any questions or problems feel free to ask them here.
Sticky pls :-)
-
07-04-2012, 12:58 #2
It works perfect, you have solved a big issue then the console hangs up (and nobody knows it or isn't available to restart it).
Thank you very much :-)
-
07-04-2012, 13:55 #3
- Join Date
- Mar 2011
- Posts
- 75
Is there any reason for me it disables layer servers?
All instructions followed to the letter, however upon testing via a remote pc restart, when the service is active the layers are de-activated, however when the service isn't running the layers run as normal O_o
Any help would be greatly appreciated as this would be an asset as described by Legate above
Regards
Pudd
-
07-04-2012, 15:33 #4
- Join Date
- Jun 2010
- Posts
- 1,357
-
08-04-2012, 00:31 #5
Hey I run procon on my bf3 server using the rc on my local machine. I was wondering if it's feasible/possible to install the service in a directory on the web. i.e. windows apache based. I'm a web developer and own quite a few hosting accounts and domains. I want to know as I do not want to run my local machine 24/7 so my server admins can use in-game admin etc. when i'm offline. Is this possible (yet)? Install in a web directory and have the rcon up 24/7 as an app? Thanks
-
08-04-2012, 02:12 #6
- Join Date
- Jun 2010
- Posts
- 1,357
-
08-04-2012, 09:18 #7
-
08-04-2012, 16:04 #8
- Join Date
- Mar 2011
- Posts
- 75
Thank you all for your prompt reply's! As usual, fantastic community support
Anyhoos,mine too is locally hosted, ports all forwarded, firewall exceptions in place as with appropriate config.. a little stumped, however.. as with your possitive feedback it's surely down to user error so I shall continue to tinker just in case.
No doubt a face+palm moment shall arise
Thank you again lads, greatly appreciated
Pudd
-
18-04-2012, 06:49 #9
- Join Date
- Mar 2012
- Posts
- 53
Thanks for this [HowTo]! Works great as a Service.
My assumption is that it uses slightly less RAM than as a Console, and a LOT less RAM over the full GUI. So far, Console/Service look about the same usage.
- CPx4
-
18-04-2012, 07:22 #10
- Join Date
- Jun 2010
- Posts
- 1,357