Browse Source

restic-rest-server: fix configuration option names

Signed-off-by: Anton Ryzhov <anton@ryzhov.me>
lilik-openwrt-22.03
Anton Ryzhov 4 years ago
committed by Rosen Penev
parent
commit
c61ed3e93f
2 changed files with 5 additions and 5 deletions
  1. +1
    -1
      net/restic-rest-server/Makefile
  2. +4
    -4
      net/restic-rest-server/files/etc/config/restic-rest-server

+ 1
- 1
net/restic-rest-server/Makefile View File

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


+ 4
- 4
net/restic-rest-server/files/etc/config/restic-rest-server View File

@ -1,13 +1,13 @@
config rest-server config rest-server
option enabled '0' option enabled '0'
option path '/mnt/backup' # data directory (default "/tmp/restic") 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 cpuprofile '/mnt/backup/cpuprofile' # write CPU profile to file
#option debug '1' # output debug messages #option debug '1' # output debug messages
#option listen ':8000' # listen address (default ":8000") #option listen ':8000' # listen address (default ":8000")
#option log '/mnt/backup/http.log' # log HTTP requests in the combined log format #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 prometheus '1' # enable Prometheus metrics
#option tls '1' # turn on TLS support #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

Loading…
Cancel
Save