Add restic-rest server role

This commit is contained in:
Jef Roosens 2024-01-09 21:11:31 +01:00
parent 04e9f8438d
commit 74f9120957
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
5 changed files with 95 additions and 13 deletions

View 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