Startup scripts for the CoffeeMUD MUD software - uses the "screen" command to manage a session. This also restarts the CoffeeMUD process if it crashes.
Official support sites: Official Github Repo - Official Forum - Official Download Area
These start up the CoffeeMUD server at boot time with a "screen" process.
- Copy coffeemud into /home/cmowner/bin - make sure it is executable
- Copy startcoffeemud into /home/cmowner/CoffeeMud - make sure it is executable
- Copy InstallUNIX-auto.sh into /home/cmowner/CoffeeMud - make sure it is executable
- Put @reboot /home/cmowner/bin/coffeemud start into your crontab
When you want to view the CoffeeMUD console, just enter "screen -r" in your shell.
To disconnect from the CoffeeMUD 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 a Ubuntu 16.04 server...
If you want to turn off the server respawning type "touch /home/cmowner/CoffeeMud/nostart". To reenable it type "rm /home/cmowner/CoffeeMud/nostart".
Note: If you don't already have the "screen" tool installed you will need to install it by "sudo apt-get install screen".
