Add restic-rest server role
This commit is contained in:
parent
04e9f8438d
commit
74f9120957
5 changed files with 95 additions and 13 deletions
14
roles/restic-rest/files/restic-rest-server.service
Normal file
14
roles/restic-rest/files/restic-rest-server.service
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=Restic REST server
|
||||
After=network.target network-online.target
|
||||
Requires=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=exec
|
||||
User=restic
|
||||
Group=restic
|
||||
ExecStart=/usr/local/bin/restic-rest-server --path /mnt/data1/restic-rest --no-auth
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue