From 7f3b09fc059d52d3cb33e82d35c7a10014cef0fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Sch=C3=A4ferdiek?= Date: Tue, 23 Nov 2021 22:32:48 +0100 Subject: [PATCH] Change service to perform default borgmatic check config, repository and archives, and enable persistent timers --- etc/systemd/system/borgmatic-check@.service | 2 +- etc/systemd/user/borgmatic-check@.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/systemd/system/borgmatic-check@.service b/etc/systemd/system/borgmatic-check@.service index 70f2408..1f9aa06 100644 --- a/etc/systemd/system/borgmatic-check@.service +++ b/etc/systemd/system/borgmatic-check@.service @@ -7,7 +7,7 @@ ConditionACPower=true [Service] 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="SSH_AUTH_SOCK=/run/user/%u/keyring/ssh" diff --git a/etc/systemd/user/borgmatic-check@.service b/etc/systemd/user/borgmatic-check@.service index 70f2408..1f9aa06 100644 --- a/etc/systemd/user/borgmatic-check@.service +++ b/etc/systemd/user/borgmatic-check@.service @@ -7,7 +7,7 @@ ConditionACPower=true [Service] 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="SSH_AUTH_SOCK=/run/user/%u/keyring/ssh"