src.nth.io/

summaryrefslogtreecommitdiff
path: root/aws-s3-backup/files
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2020-02-09 12:05:37 -0600
committerLuke Hoersten <[email protected]>2020-02-09 12:05:37 -0600
commit1cb30cc0aa4fda9bf0bac0b41ace862b1db434b8 (patch)
treee4b27462ba4b8b249bb5eaac4b4be0006ca0392c /aws-s3-backup/files
parent195a4a3fcf65bf47ecb1a0ea2a9fb070c18eb20f (diff)
Moved roles to top level
Diffstat (limited to 'aws-s3-backup/files')
-rw-r--r--aws-s3-backup/files/aws-s3-backup.target3
-rw-r--r--aws-s3-backup/files/aws-s3-backup.timer10
2 files changed, 13 insertions, 0 deletions
diff --git a/aws-s3-backup/files/aws-s3-backup.target b/aws-s3-backup/files/aws-s3-backup.target
new file mode 100644
index 0000000..5338057
--- /dev/null
+++ b/aws-s3-backup/files/aws-s3-backup.target
@@ -0,0 +1,3 @@
+[Unit]
+Description=AWS S3 backup target
+StopWhenUnneeded=yes
diff --git a/aws-s3-backup/files/aws-s3-backup.timer b/aws-s3-backup/files/aws-s3-backup.timer
new file mode 100644
index 0000000..6d7b42e
--- /dev/null
+++ b/aws-s3-backup/files/aws-s3-backup.timer
@@ -0,0 +1,10 @@
+[Unit]
+Description=Daily AWS S3 backup
+
+[Timer]
+OnCalendar=daily
+Persistent=true
+Unit=aws-s3-backup.target
+
+[Install]
+WantedBy=timers.target