| 123456789101112131415161718192021222324 | [Unit]Description=borgmatic backupWants=network-online.targetAfter=network-online.targetConditionACPower=true[Service]Type=oneshot# Lower CPU and I/O priority.Nice=19CPUSchedulingPolicy=batchIOSchedulingClass=best-effortIOSchedulingPriority=7IOWeight=100Restart=no# Prevent rate limiting of borgmatic log events. If you are using an older version of systemd that# doesn't support this (pre-240 or so), you may have to remove this option.LogRateLimitIntervalSec=0# Delay start to prevent backups running during boot.ExecStartPre=sleep 1mExecStart=systemd-inhibit --who="borgmatic" --why="Prevent interrupting scheduled backup" /root/.local/bin/borgmatic --syslog-verbosity 1
 |