Add monthly offsite restore tests and automatic cleanup
This commit is contained in:
1 parent
64eab1d3c2
commit
f0c761213d
18 files changed
+1386
-16
No files matched your search
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Clean interrupted app-backup restore tests after boot
|
||||
After=local-fs.target docker.service
|
||||
Wants=docker.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/bash /usr/local/sbin/app-restore-test.sh --cleanup
|
||||
SELinuxContext=system_u:system_r:unconfined_service_t:s0
|
||||
TimeoutStartSec=5min
|
||||
UMask=0077
|
||||
Restart=on-failure
|
||||
RestartSec=15min
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user