Add AC power condition for systemd service (#205).
This commit is contained in:
parent
3846155d62
commit
89dccc25c3
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
Description=borgmatic backup
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
ConditionACPower=true
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
|
Loading…
Reference in a new issue