Split create, check and prune borgmatic systemd files

This commit is contained in:
Alexander Schäferdiek 2021-12-22 14:52:57 +01:00
parent 2bd1d69f1d
commit f15d0c6965
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ ConditionACPower=true
[Service]
Type=oneshot
ExecStart=borgmatic prune --only repository --only archives --syslog-verbosity 1 --config %h/.config/borgmatic/%I.yml
ExecStart=borgmatic prune --syslog-verbosity 1 --config %h/.config/borgmatic/%I.yml
Environment="PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:%h/.bin"
Environment="SSH_AUTH_SOCK=/run/user/%u/keyring/ssh"

View file

@ -7,7 +7,7 @@ ConditionACPower=true
[Service]
Type=oneshot
ExecStart=borgmatic prune --only repository --only archives --syslog-verbosity 1 --config %h/.config/borgmatic/%I.yml
ExecStart=borgmatic prune --syslog-verbosity 1 --config %h/.config/borgmatic/%I.yml
Environment="PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:%h/.bin"
Environment="SSH_AUTH_SOCK=/run/user/%u/keyring/ssh"