Depend on network-online.target for system borgmatic services (--user depends on linking network-online.target to a user first)

This commit is contained in:
Alexander Schäferdiek 2021-12-27 11:21:25 +01:00
parent b8edf086ba
commit 7d13184583
4 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@ Description=Run borgmatic check for %I utilizing HOME/.config/borgmatic/%I.yml f
OnFailure=systemd_failure_notify@%n.service
Wants=network-online.target
After=network-online.target
# Requires=network-online.target
Requires=network-online.target
ConditionACPower=true
[Service]

View file

@ -3,7 +3,7 @@ Description=Run borgmatic create for %I utilizing HOME/.config/borgmatic/%I.yml
OnFailure=systemd_failure_notify@%n.service
Wants=network-online.target
After=network-online.target
# Requires=network-online.target
Requires=network-online.target
ConditionACPower=true
[Service]

View file

@ -3,7 +3,7 @@ Description=Run borgmatic prune for %I utilizing HOME/.config/borgmatic/%I.yml f
OnFailure=systemd_failure_notify@%n.service
Wants=network-online.target
After=network-online.target
# Requires=network-online.target
Requires=network-online.target
ConditionACPower=true
[Service]

View file

@ -3,7 +3,7 @@ Description=Run borgmatic backup for %I utilizing HOME/.config/borgmatic/%I.yml
OnFailure=systemd_failure_notify@%n.service
Wants=network-online.target
After=network-online.target
# Requires=network-online.target
Requires=network-online.target
ConditionACPower=true
[Service]