ansible/roles/shell/files/minecraft.service

15 lines
250 B
SYSTEMD
Raw Normal View History

2020-01-20 01:11:44 +00:00
[Install]
WantedBy=multi-user.target
[Unit]
Description=Minecraft Game Server
After=network-online.target
[Service]
ExecStart=/var/lib/minecraft/paper/start.sh
ExecReload=/bin/kill -HUP $MAINPID
User=minecraft
[Install]
WantedBy=multi-user.target