blob: 336f6d2274a213f08a3f9d939ba6386ed77be58b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
[Unit]
Description=BorgBackup job %s
[Service]
Environment="BORG_REPO=ssh://borg@%s/srv/borg/%s"
Environment="BORG_RSH=ssh -i /etc/borg/%s.key"
CPUSchedulingPolicy=idle
ExecStart=/etc/borg/%s.sh
Group=root
IOSchedulingClass=idle
PrivateTmp=true
ProtectSystem=strict
ReadWritePaths=/root/.config/borg
ReadWritePaths=/root/.cache/borg
User=root
|