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

12 lines
281 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Check restic backup for errors
OnFailure=status-email-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