diff --git a/etc/systemd/system/restic-backup.service b/etc/systemd/system/restic-backup.service index 63b4c61..2c8b20d 100644 --- a/etc/systemd/system/restic-backup.service +++ b/etc/systemd/system/restic-backup.service @@ -6,6 +6,3 @@ Wants=restic_backup.timer Type=oneshot ExecStart=/etc/restic/backup.sh SyslogIdentifier=restic_backup - -[Install] -WantedBy=multi-user.target diff --git a/etc/systemd/system/restic-backup.timer b/etc/systemd/system/restic-backup.timer index f135371..67f2d83 100644 --- a/etc/systemd/system/restic-backup.timer +++ b/etc/systemd/system/restic-backup.timer @@ -5,6 +5,7 @@ Requires=restic-backup.service [Timer] Unit=restic-backup.service OnCalendar=*-*-* 22:40:00 +Persistent=yes [Install] WantedBy=timers.target