-
Notifications
You must be signed in to change notification settings - Fork 30
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 :
- Connect to your server
- Be sure that CURL is installed
- 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
- Then you enable this service with
systemcl enable multicraft
- ✅ 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.