aboutsummaryrefslogtreecommitdiff
path: root/mc-backup.service
diff options
context:
space:
mode:
authorGravatar KamiCreed <9517086+KamiCreed@users.noreply.github.com> 2020-03-30 00:04:05 -0700
committerGravatar KamiCreed <9517086+KamiCreed@users.noreply.github.com> 2020-03-30 00:04:05 -0700
commitcee1fc32e72679261ba65a8ceafab5b94617517f (patch)
tree484d126329507023496f21da358b984de4038cc8 /mc-backup.service
parentd0d55a23581bd792abc63557a83713720b1307f9 (diff)
downloadminecraft-server-tools-cee1fc32e72679261ba65a8ceafab5b94617517f.tar.gz
Fix user for backup services
Diffstat (limited to 'mc-backup.service')
-rw-r--r--mc-backup.service6
1 files changed, 3 insertions, 3 deletions
diff --git a/mc-backup.service b/mc-backup.service
index d94656c..0ca0718 100644
--- a/mc-backup.service
+++ b/mc-backup.service
@@ -3,11 +3,11 @@ Description=Automatic backup of Minecraft Server
[Service]
Type=simple
-User=minecraftuser
-Group=minecraftuser
+User=minecraft
+Group=minecraft
ExecStart=/var/minecraft/server.sh backup
Restart=on-failure
-RestartSec=10s
+RestartSec=30s
StartLimitInterval=10min
StartLimitBurst=3