From 6072a1298ad9e5e5f6bf75a9c4be7d2ed76007d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Sch=C3=A4ferdiek?= Date: Tue, 14 Jun 2022 23:15:33 +0200 Subject: [PATCH] Fix wrong env var in system service --- etc/systemd/system/restic-create@.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/systemd/system/restic-create@.service b/etc/systemd/system/restic-create@.service index dd14db0..af8f2e1 100644 --- a/etc/systemd/system/restic-create@.service +++ b/etc/systemd/system/restic-create@.service @@ -10,8 +10,8 @@ Type=oneshot ExecStart=sh /etc/restic/%I/create.sh Environment="PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:%h/.bin" Environment="SSH_AUTH_SOCK=/run/user/%u/keyring/ssh" -Environment="RESTIC_FILE_INCLUDE=%h/.config/restic/%I.include" -Environment="RESTIC_FILE_EXCLUDE=%h/.config/restic/%I.exclude" +Environment="RESTIC_FILE_INCLUDE=/etc/restic/%I/include" +Environment="RESTIC_FILE_EXCLUDE=/etc/restic/%I/exclude" EnvironmentFile=/etc/restic/%I/env [Install]