From d2dad2eb04f33bf5ca8a75a8a96f4ec10eae7ce6 Mon Sep 17 00:00:00 2001 From: t-bast Date: Fri, 2 Jul 2021 10:30:52 +0200 Subject: [PATCH] Fix default file backup config The `file-backup` section should be inside `eclair`, otherwise startup fails. --- eclair-core/src/main/resources/reference.conf | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/eclair-core/src/main/resources/reference.conf b/eclair-core/src/main/resources/reference.conf index fe3d0d0b9b..3c545a5ed9 100644 --- a/eclair-core/src/main/resources/reference.conf +++ b/eclair-core/src/main/resources/reference.conf @@ -236,14 +236,14 @@ eclair { } } } -} -file-backup { - enabled = true // enable the automatic sqlite db backup; do not change this unless you know what you are doing - interval = 10 seconds // interval between two backups - target-file = "eclair.sqlite.bak" // name of the target backup file; will be placed under the chain directory - // override this with a script/exe that will be called everytime a new database backup has been created - # notify-script = "/absolute/path/to/script.sh" + file-backup { + enabled = true // enable the automatic sqlite db backup; do not change this unless you know what you are doing + interval = 10 seconds // interval between two backups + target-file = "eclair.sqlite.bak" // name of the target backup file; will be placed under the chain directory + // override this with a script/exe that will be called everytime a new database backup has been created + # notify-script = "/absolute/path/to/script.sh" + } } akka {