From 9ecf704015747904759aad95b5179aadd4f53798 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Tue, 11 Apr 2023 11:48:58 +0200 Subject: [PATCH] Correctly use ExecStart for backups --- .config/systemd/backup.service.desk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/systemd/backup.service.desk b/.config/systemd/backup.service.desk index 1ae9647..a149ae5 100644 --- a/.config/systemd/backup.service.desk +++ b/.config/systemd/backup.service.desk @@ -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'