Add AC power condition for systemd service (#205).

This commit is contained in:
Dan Helfman 2019-09-24 10:43:30 -07:00
parent 3846155d62
commit 89dccc25c3

View file

@ -2,6 +2,7 @@
Description=borgmatic backup
Wants=network-online.target
After=network-online.target
ConditionACPower=true
[Service]
Type=oneshot