summaryrefslogtreecommitdiff
path: root/borg-family-0.1/debian/borg-family.service
blob: f6aab42a4754ab4f3576950755d5b877b5c7f187 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Makes Borg running periodically to backup computers to a remote server
Wants=default.target network-online.target
ConditionACPower=true

[Service]
ExecStart=/usr/bin/systemd-inhibit --why="Prevent interrupting backup" /usr/sbin/bfrun 
Restart=no
# Lower CPU and I/O priority.
Nice=19
CPUSchedulingPolicy=batch
IOSchedulingClass=best-effort
IOSchedulingPriority=7
IOWeight=100