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