1 changed files with 12 additions and 0 deletions
@ -0,0 +1,12 @@
@@ -0,0 +1,12 @@
|
||||
[Unit] |
||||
Description=Copy the latest pod-charlesreid1 backup to an S3 bucket |
||||
Requires=docker.service |
||||
After=docker.service |
||||
|
||||
[Service] |
||||
Type=oneshot |
||||
StandardError=file:{{ pod_install_dir }}/.pod-charlesreid1-backups-cleanolderthan.service.error.log |
||||
StandardOutput=file:{{ pod_install_dir }}/.pod-charlesreid1-backups-cleanolderthan.service.output.log |
||||
ExecStart=/bin/bash -ac '. {{ pod_install_dir }}/environment; {{ pod_install_dir }}/scripts/backups/clean_olderthan.sh' |
||||
User=charles |
||||
Group=charles |
Loading…
Reference in new issue