restic-rest-server: fix configuration option names
authorAnton Ryzhov <anton@ryzhov.me>
Wed, 17 Mar 2021 23:09:24 +0000 (00:09 +0100)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Sat, 7 Oct 2023 17:23:07 +0000 (19:23 +0200)
Signed-off-by: Anton Ryzhov <anton@ryzhov.me>
(cherry picked from commit c61ed3e93fe60f23b2fccb6d62222fc09f6e555e)

net/restic-rest-server/files/etc/config/restic-rest-server

index 861a93c24826cd9d4b8db79c86e0b25184e006f4..2492de6f7d0e3b5803a2a2bdb2fb11d65cd65694 100644 (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