Add Requires for network online to borgmatic services
This commit is contained in:
parent
0fed3a2d76
commit
56a54508ca
8 changed files with 8 additions and 0 deletions
|
@ -3,6 +3,7 @@ Description=Run borgmatic check for %I utilizing HOME/.config/borgmatic/%I.yml f
|
||||||
OnFailure=systemd_failure_notify@%n.service
|
OnFailure=systemd_failure_notify@%n.service
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
|
Requires=network-online.target
|
||||||
ConditionACPower=true
|
ConditionACPower=true
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|
|
@ -3,6 +3,7 @@ Description=Run borgmatic create for %I utilizing HOME/.config/borgmatic/%I.yml
|
||||||
OnFailure=systemd_failure_notify@%n.service
|
OnFailure=systemd_failure_notify@%n.service
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
|
Requires=network-online.target
|
||||||
ConditionACPower=true
|
ConditionACPower=true
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|
|
@ -3,6 +3,7 @@ Description=Run borgmatic prune for %I utilizing HOME/.config/borgmatic/%I.yml f
|
||||||
OnFailure=systemd_failure_notify@%n.service
|
OnFailure=systemd_failure_notify@%n.service
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
|
Requires=network-online.target
|
||||||
ConditionACPower=true
|
ConditionACPower=true
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|
|
@ -3,6 +3,7 @@ Description=Run borgmatic backup for %I utilizing HOME/.config/borgmatic/%I.yml
|
||||||
OnFailure=systemd_failure_notify@%n.service
|
OnFailure=systemd_failure_notify@%n.service
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
|
Requires=network-online.target
|
||||||
ConditionACPower=true
|
ConditionACPower=true
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|
|
@ -3,6 +3,7 @@ Description=Run borgmatic check for %I utilizing HOME/.config/borgmatic/%I.yml f
|
||||||
OnFailure=systemd_failure_notify@%n.service
|
OnFailure=systemd_failure_notify@%n.service
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
|
Requires=network-online.target
|
||||||
ConditionACPower=true
|
ConditionACPower=true
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|
|
@ -3,6 +3,7 @@ Description=Run borgmatic create for %I utilizing HOME/.config/borgmatic/%I.yml
|
||||||
OnFailure=systemd_failure_notify@%n.service
|
OnFailure=systemd_failure_notify@%n.service
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
|
Requires=network-online.target
|
||||||
ConditionACPower=true
|
ConditionACPower=true
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|
|
@ -3,6 +3,7 @@ Description=Run borgmatic prune for %I utilizing HOME/.config/borgmatic/%I.yml f
|
||||||
OnFailure=systemd_failure_notify@%n.service
|
OnFailure=systemd_failure_notify@%n.service
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
|
Requires=network-online.target
|
||||||
ConditionACPower=true
|
ConditionACPower=true
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|
|
@ -3,6 +3,7 @@ Description=Run borgmatic backup for %I utilizing HOME/.config/borgmatic/%I.yml
|
||||||
OnFailure=systemd_failure_notify@%n.service
|
OnFailure=systemd_failure_notify@%n.service
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
|
Requires=network-online.target
|
||||||
ConditionACPower=true
|
ConditionACPower=true
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
|
Loading…
Reference in a new issue