For a while I wanted to get the /restart command to work in-game while using this init script, it took a while but I finally found a solution, that is to use a unit file with systemd on Ubuntu 16.04 to restart the server whenever it dies, either intentionally or by crash.
I have a solution posted here on Gaming Stack Exchange, hopefully it will help someone here out! :)
For a while I wanted to get the
/restart
command to work in-game while using this init script, it took a while but I finally found a solution, that is to use aunit file
withsystemd
on Ubuntu 16.04 to restart the server whenever it dies, either intentionally or by crash.I have a solution posted here on Gaming Stack Exchange, hopefully it will help someone here out! :)