# Managed by Ansible — do not edit by hand. [Unit] Description=borgmatic backup Wants=network-online.target After=network-online.target # Don't run on battery power. ConditionACPower=true [Service] Type=oneshot # Lower priority so backups don't starve foreground work. Nice=19 CPUSchedulingPolicy=batch IOSchedulingClass=best-effort IOSchedulingPriority=7 IOWeight=100 Restart=no # Prevent rate limiting of borgmatic log events. LogRateLimitIntervalSec=0 # Delay start by a random amount handled in the timer; keep the service simple. ExecStart=systemd-inhibit --who="borgmatic" --what="sleep:shutdown" --why="Prevent interrupting scheduled backup" /usr/bin/borgmatic {{ borgmatic_verbosity_args }}