Skip to content

Setup an auto reboot for Multicraft daemon

Valentin T edited this page Mar 25, 2018 · 2 revisions

We are in 2018 (at the time I'm writing) and Debian 9 is out there.
So in order to prepare and anticipate the future, we consider to use systemctl.

To do so, we will proceed as it follow :

  1. Connect to your server
  2. Be sure that CURL is installed
  3. Apply the following command to get config and write it on startup file.
    curl https://raw.githubusercontent.com/ValentinTh/MultiCraft-JAR-Conf/master/daemon/multicraft-systemd.txt > /lib/systemd/system/multicraft.service
  4. Then you enable this service with systemcl enable multicraft
  5. ✅ Done!

Now that's up to you to manage your Daemon.

4 commands are available to manage.
systemcl status multicraft > to know how everything is running.
systemcl start multicraft > to start the Daemon.
systemcl stop multicraft > to stop the Daemon.
systemcl restart multicraft > to restart the Daemon after any kind of configuration.

Hope this one will be helpful when you don't remember about configurations.

Clone this wiki locally