Skip to content

Instantly share code, notes, and snippets.

@digitaldesigndj
Last active January 4, 2016 20:59
Show Gist options
  • Save digitaldesigndj/8677816 to your computer and use it in GitHub Desktop.
Save digitaldesigndj/8677816 to your computer and use it in GitHub Desktop.
Starbound Upstart Configuration - Furious Koala

Starbound Furious Koala Upstart Script

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!

#!upstart
description "Starbound"
# Start the job
exec '/root/starbound/linux64/starbound_server'
# exec /usr/bin/mono '/root/starbound/linux64/starrybound_server.exe'
# Start on boot
start on filesystem and net-device-up IFACE=lo
# Restart the process if it dies
respawn
# Give up if restart occurs 10 times in 90 seconds
respawn limit 10 90
@digitaldesigndj
Copy link
Author

To use this with StarryBound, substitute the following line to Start the job
exec /usr/bin/mono '/root/Starbound/linux64/starrybound_server.exe'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment