restic_backup/systemd/restic-backup.service
Alex Kelly 041b70319e 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.
2023-01-16 22:43:32 -05:00

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