restic rest server configuration

This commit is contained in:
Jef Roosens 2026-04-20 21:57:58 +02:00
parent fcd36a1035
commit 5f4d69ff17
Signed by: Jef Roosens
GPG key ID: 21FD3D77D56BAF49
7 changed files with 136 additions and 55 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 {{ restic_rest_data_dir }} --no-auth --prometheus
Restart=always
[Install]
WantedBy=multi-user.target