I use this with Ubuntu and StarBound installed via steamcmd
.
Save the content below into the file /etc/init/starbound.conf
so nano /etc/init/starbound.conf
, then paste in the content, then crtl+o
to save and crtl+x
to exit nano.
Warning! - You might have to correct the path /root/starbound/linux64/starbound_server
to point correctly at your stabound install.
Then kickstart the server: sudo start starbound
To stop the server: sudo stop starbound
In our experience the StarBound service will recover from most crashes. Everyone still disconnects, but the server will start right back up.
This will also launch the server on restart or boot.
Enjoy, Come visit us at boundstar.com!
To use this with StarryBound, substitute the following line to Start the job
exec /usr/bin/mono '/root/Starbound/linux64/starrybound_server.exe'