x_cure Posted July 22, 2015 Report Share Posted July 22, 2015 I want to setup a auto restart for the server. As was suggested, I edited epochconfig.hpp and set serverRestart = true. The server does not restart. How can it be done? Also, I saw that there are servers with warnings before the restart, is there sort of script for this? Thanks! Link to comment Share on other sites More sharing options...
flow0815 Posted July 22, 2015 Report Share Posted July 22, 2015 in the epochserver.ini you have to set external ip address and command password to use this function. Link to comment Share on other sites More sharing options...
x_cure Posted July 22, 2015 Author Report Share Posted July 22, 2015 What will be the outcome btw? Will it restart the whole machine or only the service? Link to comment Share on other sites More sharing options...
tinboye Posted July 22, 2015 Report Share Posted July 22, 2015 You can also use either BEC or Infistar Link to comment Share on other sites More sharing options...
He-Man Posted July 22, 2015 Report Share Posted July 22, 2015 Or you can make it via Task Scheduler and call a batch like this: taskkill /f /fi "status eq not responding" /im arma3server.exe taskkill /f /im arma3server.exe start "arma3" "D:\Servers\Epoch\arma3server.exe" -mod=@Epoch;@epochhive -config=D:\Servers\Epoch\sc\config.cfg -cfg=D:\Servers\Epoch\sc\basic.cfg -port=2302 -autoInit -profiles=D:\Servers\Epoch\sc -name=sc exit Link to comment Share on other sites More sharing options...
x_cure Posted July 23, 2015 Author Report Share Posted July 23, 2015 Thanks for the responses. I eventually ended up writing 3rd party application to handle that. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now