restic-systemd-automatic-ba.../etc/systemd/system/restic-check.service

12 lines
281 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=Check restic backup for errors
2019-01-07 21:11:11 +00:00
OnFailure=status-popup-user@%n.service
Conflicts=restic.service
[Service]
Type=simple
User=lerentis
Nice=10
ExecStart=/usr/local/sbin/restic_check.sh
Environment="HOME=/home/lerentis/"
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket