backuprunner/orchestration/is-backup-recent@.service

10 lines
249 B
Desktop File

[Unit]
Description=Check last backup date for %I
After=local-fs.target
Wants=local-fs.target
OnFailure=backup-out-of-date@.service
[Service]
Type=oneshot
ExecStart=/opt/backuprunner/scripts/is-backup-recent.sh %I
WorkingDirectory=/opt/backuprunner