Fix wrong env var in system service
This commit is contained in:
parent
9ab2b89657
commit
6072a1298a
1 changed files with 2 additions and 2 deletions
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue