Alex Kelly
041b70319e
With systemd, we don't need to specify any logging output, and the tee'ing is complicating things anyway. This removes all the external logging, and adds the systemd service and timer required to make it go.
10 lines
180 B
SYSTEMD
10 lines
180 B
SYSTEMD
[Unit]
|
|
Description=Executes the restic backup script
|
|
Requires=restic-backup.service
|
|
|
|
[Timer]
|
|
Unit=restic-backup.service
|
|
OnCalendar=*-*-* 22:40:00
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|