[Unit]
Description=Back up chosto's documents
OnFailure=notify-backup-failure.service
[Service]
Type=oneshot
ExecStart=/bin/bash -c 'RESTIC_PASSWORD=$(cat /root/restic) restic -r /backup/restic --verbose backup --exclude "/home/.*" /home'