restic-rest-server: add package

Signed-off-by: Markus Weippert <markus@gekmihesg.de>
This commit is contained in:
Markus Weippert
2019-12-18 18:42:56 +01:00
parent c996e6b470
commit 7f86ced176
3 changed files with 102 additions and 0 deletions
@@ -0,0 +1,13 @@
config rest-server
option enabled '0'
option path '/mnt/backup' # data directory (default "/tmp/restic")
#option append-only '1' # enable append only mode
#option cpuprofile '/mnt/backup/cpuprofile' # write CPU profile to file
#option debug '1' # output debug messages
#option listen ':8000' # listen address (default ":8000")
#option log '/mnt/backup/http.log' # log HTTP requests in the combined log format
#option private-repos '1' # users can only access their private repo
#option prometheus '1' # enable Prometheus metrics
#option tls '1' # turn on TLS support
#option tls-cert '/mnt/backup/public_key' # TLS certificate path
#option tls-key '/mnt/backup/private_key' # TLS key path