minecraft-server-fabric/minecraftd-backup.service

14 lines
237 B
SYSTEMD
Raw Normal View History

2015-09-20 14:23:34 -07:00
[Unit]
Description=Minecraft Server World Backup
After=local-fs.target
[Service]
Type=forking
EnvironmentFile=/etc/conf.d/minecraft
2015-09-20 14:23:34 -07:00
ExecStart=/usr/bin/minecraftd backup
USER=$MC_USER
GROUP=$MC_USER
2015-09-20 14:23:34 -07:00
[Install]
WantedBy=multi-user.target