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:
parent
248ef13ee9
commit
041b70319e
3 changed files with 33 additions and 24 deletions
11
systemd/restic-backup.service
Normal file
11
systemd/restic-backup.service
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue