Change service to perform default borgmatic check config, repository and archives, and enable persistent timers

This commit is contained in:
Alexander Schäferdiek 2021-11-23 22:32:48 +01:00
parent 5e52dc3ad8
commit 7f3b09fc05
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ ConditionACPower=true
[Service] [Service]
Type=oneshot Type=oneshot
ExecStart=borgmatic check --syslog-verbosity 1 --config %h/.config/borgmatic/%I.yml ExecStart=borgmatic check --only repository --only archives --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="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"

View file

@ -7,7 +7,7 @@ ConditionACPower=true
[Service] [Service]
Type=oneshot Type=oneshot
ExecStart=borgmatic check --syslog-verbosity 1 --config %h/.config/borgmatic/%I.yml ExecStart=borgmatic check --only repository --only archives --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="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"