Fix wrong env var in system service

This commit is contained in:
Alexander Schäferdiek 2022-06-14 23:15:33 +02:00
parent 9ab2b89657
commit 6072a1298a

View file

@ -10,8 +10,8 @@ Type=oneshot
ExecStart=sh /etc/restic/%I/create.sh ExecStart=sh /etc/restic/%I/create.sh
Environment="PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:%h/.bin" 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="SSH_AUTH_SOCK=/run/user/%u/keyring/ssh"
Environment="RESTIC_FILE_INCLUDE=%h/.config/restic/%I.include" Environment="RESTIC_FILE_INCLUDE=/etc/restic/%I/include"
Environment="RESTIC_FILE_EXCLUDE=%h/.config/restic/%I.exclude" Environment="RESTIC_FILE_EXCLUDE=/etc/restic/%I/exclude"
EnvironmentFile=/etc/restic/%I/env EnvironmentFile=/etc/restic/%I/env
[Install] [Install]