Files
app-backup/systemd/app-restore-test-cleanup.service

17 lines
384 B
Desktop File

[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