/EmpireStartup

Starts the Empire server at boot time and if it should crash

Primary LanguagePerlGNU General Public License v3.0GPL-3.0

Empire Server Startup Scripts (1.1.0)

Startup scripts for the Empire game server - uses the "screen" command to manage session. This also restarts the Empire server process if it crashes.

Official support sites: Official Github Repo - Official Forum


These start up the Empire server at boot time with a "screen" process.

  1. Copy empire into /home/empowner/bin - make sure it is executable
  2. Copy startempire into /home/empowner/empire - make sure it is executable
  3. Put @reboot /home/empowner/bin/empire start into your crontab

When you want to view the Empire console, just enter "screen -r" in your shell.

To disconnect from the Empire console just press CTRL-A CTRL-D. This will leave it running and you can reconnect to it again.

I have only tested this on Ubuntu 16.04 & 18.04 servers...

If you want to turn off the server respawning type "touch /home/empowner/empire/nostart". To reenable it type "rm /home/empowner/empire/nostart".


Note: If you don't already have the "screen" tool installed you will need to install it by "sudo apt-get install screen".