restic-rest-server: fix configuration option names

Signed-off-by: Anton Ryzhov <anton@ryzhov.me>
This commit is contained in:
Anton Ryzhov 2021-03-18 00:09:24 +01:00 committed by Rosen Penev
parent 76b642b50f
commit c61ed3e93f
2 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=restic-rest-server
PKG_VERSION:=0.9.7
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_BUILD_DIR:=$(BUILD_DIR)/rest-server-$(PKG_VERSION)
PKG_SOURCE:=rest-server-$(PKG_VERSION).tar.gz

View File

@ -1,13 +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 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 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
#option tls_cert '/mnt/backup/public_key' # TLS certificate path
#option tls_key '/mnt/backup/private_key' # TLS key path