aboutsummaryrefslogtreecommitdiff
path: root/mc-fbackup.service
blob: a922b69675b8a68c0434e6e84506b1b3ee35263b (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=minecraftuser
Group=minecraftuser
ExecStart=/var/minecraft/server.sh fbackup
Restart=on-failure
RestartSec=10s
StartLimitInterval=10min
StartLimitBurst=8

[Install]
WantedBy=multi-user.target