Better way to restart HC?

  • Offline night
  • First Blood
  • ***
  • Posts: 96

Better way to restart HC?

« posted: Jan 17, 2018, 09:21 AM »
Hey
Right now my bat file does:
go to HC folder
start "LIVE HC1 Arma3" arma3server_x64.exe
wait 3
go to live server folder
start "Live Wasteland Arma3" /wait arma3server_x64.exe (note the /wait)
Then BEC shutdowns server at certain hours. Then my bat file does:
wait 5
taskkill /IM arma3server_x64.exe /F (to kill HC)

Questions
1. Is there a way in cmd to get PID of started HC1 so the batch file will only kill specific HC? Or maybe some other way to shutdown HC that is attached to a server?
2. Is 1 HC enough or shall there be two? If two, then what's the best way to spread caching/saving/cleanup across them?
3. Am i starting HC right or is there a better way?
Asking because i want to run multiple servers on same machine and i don't want bat file of every server to kill all the HCs.
Thanks!
  • Offline Gagi2
  • Geared Up
  • **
  • Posts: 45

Re: Better way to restart HC?

« Reply #1 posted: Jan 31, 2018, 08:27 PM »
do yourself a favor and get firedaemon

www.firedaemon.com

im starting all my gameservers with it for 2 years now...
also can start/stop more processes in a row
like first armaserver then bec etc
  • Offline night
  • First Blood
  • ***
  • Posts: 96

Re: Better way to restart HC?

« Reply #2 posted: Feb 01, 2018, 01:31 AM »
Was on my list to check it out. Going to research it further i guess. Thanks!