347 B
347 B
- install screen and java-jre-headless
- create unpriviliged user+group "minecraft"
- copy unit-file to /lib/systemd/system/minecraft.service
- enable unit-file
- copy update-minecraft.sh to /usr/local/bin
- make updatescript executable
- add updatescript to /etc/crontab:
0 3 * * * root bash /usr/local/bin/update-minecraft.sh