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.
11 lines
201 B
Desktop File
11 lines
201 B
Desktop File
[Unit]
|
|
Description=Initiates restic backup script
|
|
Wants=restic_backup.timer
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/etc/restic/backup.sh
|
|
SyslogIdentifier=restic_backup
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|