src.nth.io/

summaryrefslogtreecommitdiff
path: root/minecraft/aws-s3-backup/templates
diff options
context:
space:
mode:
Diffstat (limited to 'minecraft/aws-s3-backup/templates')
-rw-r--r--minecraft/aws-s3-backup/templates/[email protected]9
1 files changed, 9 insertions, 0 deletions
diff --git a/minecraft/aws-s3-backup/templates/[email protected] b/minecraft/aws-s3-backup/templates/[email protected]
new file mode 100644
index 0000000..84bfdb7
--- /dev/null
+++ b/minecraft/aws-s3-backup/templates/[email protected]
@@ -0,0 +1,9 @@
+[Unit]
+Description=Minecraft s3 backup for "%I"
+
+[Service]
+Type=oneshot
+ExecStart=/usr/local/bin/minecraft-s3-backup.sh %i "{{minecraft_s3_backup_dir}}"
+
+[Install]
+WantedBy=aws-s3-backup.target