aboutsummaryrefslogtreecommitdiff
path: root/mc-fbackup.service
blob: a5a52ae56ee471bffb53169707d9a3dfe5601037 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Force backup of Minecraft Server

[Service]
Type=simple
User=minecraft
Group=minecraft
ExecStart=/var/minecraft/server.sh fbackup
Restart=on-failure
RestartSec=10s
StartLimitInterval=10min
StartLimitBurst=8

[Install]
WantedBy=multi-user.target