Document use case of running backups conditionally based on laptop power level (#419).
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-06-09 10:03:35 -07:00
parent fd59776f91
commit b37dd1a79e
4 changed files with 25 additions and 3 deletions

View File

@@ -2,6 +2,8 @@
Description=borgmatic backup
Wants=network-online.target
After=network-online.target
# Prevent borgmatic from running unless the machine is plugged into power. Remove this line if you
# want to allow borgmatic to run anytime.
ConditionACPower=true
[Service]