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

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

[Install]
WantedBy=multi-user.target