1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-14 15:19:45 +01:00
home-manager/tests/modules/services/borgmatic/basic-configuration.service

24 lines
559 B
SYSTEMD
Raw Normal View History

2022-09-25 19:27:04 +02:00
[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=/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