Add monthly offsite restore tests and automatic cleanup

This commit is contained in:
admin committed 2026-09-12 19:47:32 +02:00
1 parent 64eab1d3c2
commit f0c761213d
18 files changed
+1386 -16

No files matched your search

+16
View File
@@ -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