mirror of
https://github.com/nix-community/home-manager
synced 2024-11-13 06:39:44 +01:00
9c5f16d703
Fixes #5749
23 lines
561 B
Desktop File
23 lines
561 B
Desktop File
[Service]
|
|
ExecStart=/nix/store/00000000000000000000000000000000-systemd/bin/systemd-inhibit \
|
|
--who="borgmatic" \
|
|
--what="sleep:shutdown" \
|
|
--why="Prevent interrupting scheduled backup" \
|
|
@borgmatic@/bin/borgmatic \
|
|
--stats \
|
|
--verbosity -1 \
|
|
--list \
|
|
--syslog-verbosity 1
|
|
|
|
ExecStartPre=/nix/store/00000000000000000000000000000000-coreutils/bin/sleep 3m
|
|
IOSchedulingClass=best-effort
|
|
IOSchedulingPriority=7
|
|
IOWeight=100
|
|
LogRateLimitIntervalSec=0
|
|
Nice=19
|
|
Restart=no
|
|
Type=oneshot
|
|
|
|
[Unit]
|
|
ConditionACPower=true
|
|
Description=borgmatic backup
|