fix: correct backup running at every reboot

This commit is contained in:
Alex Kelly 2023-01-21 09:45:58 -05:00
parent 703de585e2
commit dd05a4ded7
2 changed files with 1 additions and 3 deletions

View file

@ -6,6 +6,3 @@ Wants=restic_backup.timer
Type=oneshot
ExecStart=/etc/restic/backup.sh
SyslogIdentifier=restic_backup
[Install]
WantedBy=multi-user.target

View file

@ -5,6 +5,7 @@ Requires=restic-backup.service
[Timer]
Unit=restic-backup.service
OnCalendar=*-*-* 22:40:00
Persistent=yes
[Install]
WantedBy=timers.target