fix: correct backup running at every reboot
This commit is contained in:
parent
703de585e2
commit
dd05a4ded7
2 changed files with 1 additions and 3 deletions
|
@ -6,6 +6,3 @@ Wants=restic_backup.timer
|
|||
Type=oneshot
|
||||
ExecStart=/etc/restic/backup.sh
|
||||
SyslogIdentifier=restic_backup
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -5,6 +5,7 @@ Requires=restic-backup.service
|
|||
[Timer]
|
||||
Unit=restic-backup.service
|
||||
OnCalendar=*-*-* 22:40:00
|
||||
Persistent=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
|
|
Loading…
Reference in a new issue