summarylogtreecommitdiffstats
path: root/backrest@.service
blob: 5a099ff3b9986291d2dfd54dced347e0028fedc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Backrest Daemon for %I.
Wants=network-online.target
After=network-online.target

[Service]
Type=simple
User=%i
Restart=on-failure
Environment=BACKREST_RESTIC_COMMAND=/usr/bin/restic
Environment=BACKREST_PORT=127.0.0.1:9898
ExecStart=/usr/bin/backrest

[Install]
WantedBy=multi-user.target