Download

ARK server management on Linux

I’ve been having a problem automating my server to stop, update, and start again. After the server is brought down, it tries to start back up (there is the process in htop) but it doesn’t actually run properly. No clients are able to connect and it views as down in HLSW. This only started happening recently after one of the patches. Here is what I’ve got going.

restartark
http://pastebin.com/VtsqCJje

killark
http://pastebin.com/j2psg6F3

updateark
http://pastebin.com/bgrdb1Cq

startark
http://pastebin.com/Hhbznnc8

Theses scripts are in /usr/bin on an ubunutu server. I’m going to assume its a way I am handling all my scripts in restartark that may be causing an issue, as on their own the scripts work flawlessly. In order to get my server running again, I have to kill ARK’s process and run startark once more.