summarylogtreecommitdiffstats
path: root/forged-backup.service
diff options
context:
space:
mode:
Diffstat (limited to 'forged-backup.service')
-rw-r--r--forged-backup.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/forged-backup.service b/forged-backup.service
new file mode 100644
index 000000000000..d4bc5a9f0fc5
--- /dev/null
+++ b/forged-backup.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Minecraft Forge Server World Backup
+After=local-fs.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/forged backup
+User=forge
+Group=forge
+
+[Install]
+WantedBy=multi-user.target