diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2020-01-05 01:18:24 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2020-01-05 01:18:24 +0100 |
commit | fb7ea1517da73501a6da96f1e4504a6bed6f55b1 (patch) | |
tree | 87ab63d27c937b8075a187150e82b519a8893d94 /Readme.md | |
parent | 81e68ebc5bfc4585448bcdcdb70841cb54e735ee (diff) | |
download | minecraft-server-tools-fb7ea1517da73501a6da96f1e4504a6bed6f55b1.tar.gz |
added unit file
Diffstat (limited to 'Readme.md')
-rw-r--r-- | Readme.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -41,6 +41,14 @@ The following example copies the created archive to a remote server. BACKUP_HOOK="scp $ARCHNAME user@server:/home/user/backups/" +## Start automatically + +Create user and group `minecraft` with home in `/var/minecraft`. +Populate the directory with server.sh and a server jar. +Place `minecraft.service` in `/etc/systemd/system/` +and run `systemctl start minecraft` to start once or +`systemctl enable minecraft` to enable autostarting. + ## Disclaimer The scripts are provided as-is at no warranty. |