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