From 89dccc25c332a1ef9b70c772d61c28215aa0235d Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Tue, 24 Sep 2019 10:43:30 -0700 Subject: [PATCH] Add AC power condition for systemd service (#205). --- sample/systemd/borgmatic.service | 1 + 1 file changed, 1 insertion(+) diff --git a/sample/systemd/borgmatic.service b/sample/systemd/borgmatic.service index 61fdcea..0bbf5b4 100644 --- a/sample/systemd/borgmatic.service +++ b/sample/systemd/borgmatic.service @@ -2,6 +2,7 @@ Description=borgmatic backup Wants=network-online.target After=network-online.target +ConditionACPower=true [Service] Type=oneshot