writefreely/aws-s3-backup/templates/[email protected]
author Luke Hoersten <luke@hoersten.org>
Sat, 10 Sep 2022 14:52:58 -0500
changeset 193 fd46c0e68c2c
parent 159 05d0cf32e077
permissions -rw-r--r--
Initial octoprint role.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
df042396074e Opensourcing raspberry pi roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     1
[Unit]
159
05d0cf32e077 Added writefreely backup.
Luke Hoersten <luke@hoersten.org>
parents: 56
diff changeset
     2
Description=Writefreely s3 backup for "%I"
0
df042396074e Opensourcing raspberry pi roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     3
df042396074e Opensourcing raspberry pi roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     4
[Service]
df042396074e Opensourcing raspberry pi roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     5
Type=oneshot
159
05d0cf32e077 Added writefreely backup.
Luke Hoersten <luke@hoersten.org>
parents: 56
diff changeset
     6
ExecStart=/usr/local/bin/writefreely-s3-backup.sh %i "{{writefreely_s3_backup_dir}}"
0
df042396074e Opensourcing raspberry pi roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     7
df042396074e Opensourcing raspberry pi roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     8
[Install]
df042396074e Opensourcing raspberry pi roles.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     9
WantedBy=aws-s3-backup.target