From 50c1520ef5e29023f2e841efd6970404083a66fa Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Mon, 16 Mar 2020 15:57:27 -0400 Subject: changing db type/location will no longer work without restart --- getwtxt.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/getwtxt.yml b/getwtxt.yml index 5fd4edb..8078245 100644 --- a/getwtxt.yml +++ b/getwtxt.yml @@ -16,7 +16,7 @@ ############################################################# ############################################################# -## Changing the following option requires a restart. ## +## Changing the following options requires a restart. ## ############################################################# # This is the port that getwtxt will bind to. @@ -24,12 +24,6 @@ # set this to 80 or 443 ListenPort: 9001 -############################################################# -## The following options may be changed at any time. ## -## getwtxt will automatically reload the config when ## -## changes are detected. ## -############################################################# - # The type of database you want to use. Currently, # the following are supported: # leveldb (default) @@ -40,6 +34,12 @@ DatabaseType: "leveldb" # a relative or absolute path. DatabasePath: "getwtxt.db" +############################################################# +## The following options may be changed at any time. ## +## getwtxt will automatically reload the config when ## +## changes are detected. ## +############################################################# + # The path to the assets directory, which contains: # style.css # tmpl/index.html @@ -89,3 +89,4 @@ Instance: # This is shown at the top of the default web page # below your instance's name. Description: "A fast, resilient twtxt registry server written in Go!" + -- cgit 1.4.1-2-gfad0