Correctly use ExecStart for backups
parent
62f7d8b1e6
commit
9ecf704015
|
@ -4,4 +4,4 @@ OnFailure=notify-backup-failure.service
|
|||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=RESTIC_PASSWORD=$(cat /root/restic) restic -r /backup/restic --verbose backup --exclude '/home/.*' /home
|
||||
ExecStart=/bin/bash -c 'RESTIC_PASSWORD=$(cat /root/restic) restic -r /backup/restic --verbose backup --exclude "/home/.*" /home'
|
||||
|
|
Loading…
Reference in New Issue