2022-09-25 19:27:04 +02:00
|
|
|
[Service]
|
|
|
|
ExecStart=/nix/store/00000000000000000000000000000000-systemd/bin/systemd-inhibit \
|
|
|
|
--who="borgmatic" \
|
2023-02-05 11:13:04 +01:00
|
|
|
--what="sleep:shutdown" \
|
2022-09-25 19:27:04 +02:00
|
|
|
--why="Prevent interrupting scheduled backup" \
|
|
|
|
@borgmatic@/bin/borgmatic \
|
|
|
|
--stats \
|
|
|
|
--verbosity -1 \
|
|
|
|
--list \
|
|
|
|
--syslog-verbosity 1
|
|
|
|
|
2022-10-23 22:52:22 +02:00
|
|
|
ExecStartPre=/nix/store/00000000000000000000000000000000-coreutils/bin/sleep 3m
|
2022-09-25 19:27:04 +02:00
|
|
|
IOSchedulingClass=best-effort
|
|
|
|
IOSchedulingPriority=7
|
|
|
|
IOWeight=100
|
|
|
|
LogRateLimitIntervalSec=0
|
|
|
|
Nice=19
|
|
|
|
Restart=no
|
|
|
|
Type=oneshot
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
ConditionACPower=true
|
|
|
|
Description=borgmatic backup
|