feat: remove logging for systemd assumption

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.
This commit is contained in:
Alex Kelly 2023-01-16 22:43:32 -05:00
parent 248ef13ee9
commit 041b70319e
3 changed files with 33 additions and 24 deletions

View file

@ -0,0 +1,11 @@
[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