Forum Jump :

Author Message


Posts: 52

Level: Member

Country: us
In-game name:

#66029 Posted at 2009-09-27 21:46        
Guys, I found a windows service wrapper:
It's better than instsrv/srvany because you can use recovery options for crash protection, and although it isn't as good as the firedaemon suite, it's free.

winsw executable should be renamed for each instance, i.e. arma2cus.exe

Here is my sample xml config (arma2cus.xml):
  <name>ArmA2 Custom</name>
  <description>CAA1 Loaded</description>
  <startargument>-port=2312 -name=default -config=default\server.cfg -cfg=default\arma2.cfg -profiles=default -mod=x\caa1;x\oac\oac_core;@CBA;@OPX;@DCM</startargument>
  <interactive />

Go to services.msc
Use the Recovery tab to set all three failures to Restart the Service.

PS: I don't think <interactive /> does anything or you need to be in the user account the service is running as which I guess you can change in that third services tab.

This post was edited by tcp (2009-09-27 21:59, ago)