From cee1fc32e72679261ba65a8ceafab5b94617517f Mon Sep 17 00:00:00 2001 From: KamiCreed <9517086+KamiCreed@users.noreply.github.com> Date: Mon, 30 Mar 2020 00:04:05 -0700 Subject: Fix user for backup services --- mc-backup.service | 6 +++--- 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 -- cgit v1.2.3