aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mc-backup.service6
-rw-r--r--mc-fbackup.service4
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