mirror of
https://github.com/nix-community/home-manager
synced 2024-12-24 02:39:48 +01:00
24 lines
501 B
SYSTEMD
24 lines
501 B
SYSTEMD
|
[Service]
|
||
|
CPUSchedulingPolicy=batch
|
||
|
ExecStart=/nix/store/00000000000000000000000000000000-systemd/bin/systemd-inhibit \
|
||
|
--who="borgmatic" \
|
||
|
--why="Prevent interrupting scheduled backup" \
|
||
|
@borgmatic@/bin/borgmatic \
|
||
|
--stats \
|
||
|
--verbosity -1 \
|
||
|
--list \
|
||
|
--syslog-verbosity 1
|
||
|
|
||
|
ExecStartPre=sleep 3m
|
||
|
IOSchedulingClass=best-effort
|
||
|
IOSchedulingPriority=7
|
||
|
IOWeight=100
|
||
|
LogRateLimitIntervalSec=0
|
||
|
Nice=19
|
||
|
Restart=no
|
||
|
Type=oneshot
|
||
|
|
||
|
[Unit]
|
||
|
ConditionACPower=true
|
||
|
Description=borgmatic backup
|