From b8edf086ba09795df9d4ca1fa8f90dedfe567441 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Sch=C3=A4ferdiek?= Date: Fri, 24 Dec 2021 09:57:24 +0100 Subject: [PATCH] Fix network-online.target not available --- etc/systemd/system/borgmatic-check@.service | 2 +- etc/systemd/system/borgmatic-create@.service | 2 +- etc/systemd/system/borgmatic-prune@.service | 2 +- etc/systemd/system/borgmatic@.service | 2 +- etc/systemd/user/borgmatic-check@.service | 2 +- etc/systemd/user/borgmatic-create@.service | 2 +- etc/systemd/user/borgmatic-prune@.service | 2 +- etc/systemd/user/borgmatic@.service | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/etc/systemd/system/borgmatic-check@.service b/etc/systemd/system/borgmatic-check@.service index 41045de..1d2cd0f 100644 --- a/etc/systemd/system/borgmatic-check@.service +++ b/etc/systemd/system/borgmatic-check@.service @@ -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] diff --git a/etc/systemd/system/borgmatic-create@.service b/etc/systemd/system/borgmatic-create@.service index c286a61..7de536e 100644 --- a/etc/systemd/system/borgmatic-create@.service +++ b/etc/systemd/system/borgmatic-create@.service @@ -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] diff --git a/etc/systemd/system/borgmatic-prune@.service b/etc/systemd/system/borgmatic-prune@.service index 4f89217..8ddbc42 100644 --- a/etc/systemd/system/borgmatic-prune@.service +++ b/etc/systemd/system/borgmatic-prune@.service @@ -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] diff --git a/etc/systemd/system/borgmatic@.service b/etc/systemd/system/borgmatic@.service index 62f97d1..38908bd 100644 --- a/etc/systemd/system/borgmatic@.service +++ b/etc/systemd/system/borgmatic@.service @@ -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] diff --git a/etc/systemd/user/borgmatic-check@.service b/etc/systemd/user/borgmatic-check@.service index 41045de..1d2cd0f 100644 --- a/etc/systemd/user/borgmatic-check@.service +++ b/etc/systemd/user/borgmatic-check@.service @@ -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] diff --git a/etc/systemd/user/borgmatic-create@.service b/etc/systemd/user/borgmatic-create@.service index c286a61..7de536e 100644 --- a/etc/systemd/user/borgmatic-create@.service +++ b/etc/systemd/user/borgmatic-create@.service @@ -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] diff --git a/etc/systemd/user/borgmatic-prune@.service b/etc/systemd/user/borgmatic-prune@.service index 4f89217..8ddbc42 100644 --- a/etc/systemd/user/borgmatic-prune@.service +++ b/etc/systemd/user/borgmatic-prune@.service @@ -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] diff --git a/etc/systemd/user/borgmatic@.service b/etc/systemd/user/borgmatic@.service index 62f97d1..38908bd 100644 --- a/etc/systemd/user/borgmatic@.service +++ b/etc/systemd/user/borgmatic@.service @@ -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]