diff options
author | KamiCreed <9517086+KamiCreed@users.noreply.github.com> | 2020-03-30 00:04:05 -0700 |
---|---|---|
committer | KamiCreed <9517086+KamiCreed@users.noreply.github.com> | 2020-03-30 00:04:05 -0700 |
commit | cee1fc32e72679261ba65a8ceafab5b94617517f (patch) | |
tree | 484d126329507023496f21da358b984de4038cc8 | |
parent | d0d55a23581bd792abc63557a83713720b1307f9 (diff) | |
download | minecraft-server-tools-cee1fc32e72679261ba65a8ceafab5b94617517f.tar.gz |
Fix user for backup services
-rw-r--r-- | mc-backup.service | 6 | ||||
-rw-r--r-- | mc-fbackup.service | 4 |
2 files changed, 5 insertions, 5 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 diff --git a/mc-fbackup.service b/mc-fbackup.service index a922b69..a5a52ae 100644 --- a/mc-fbackup.service +++ b/mc-fbackup.service @@ -3,8 +3,8 @@ Description=Force backup of Minecraft Server [Service] Type=simple -User=minecraftuser -Group=minecraftuser +User=minecraft +Group=minecraft ExecStart=/var/minecraft/server.sh fbackup Restart=on-failure RestartSec=10s |