Fix path of restic-create service file

This commit is contained in:
Alexander Schäferdiek 2022-06-14 23:04:30 +02:00
parent 9b64346590
commit 9ab2b89657

View file

@ -7,7 +7,7 @@ Requires=network-online.target
[Service] [Service]
Type=oneshot Type=oneshot
ExecStart=sh /etc/%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=%h/.config/restic/%I.include"