Skip to content

Commit 516929b

Browse files
authored
Fix default file backup config (#1857)
The `file-backup` section should be inside `eclair`, otherwise startup fails.
1 parent f52c3dd commit 516929b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

eclair-core/src/main/resources/reference.conf

+7-7
Original file line numberDiff line numberDiff line change
@@ -236,14 +236,14 @@ eclair {
236236
}
237237
}
238238
}
239-
}
240239

241-
file-backup {
242-
enabled = true // enable the automatic sqlite db backup; do not change this unless you know what you are doing
243-
interval = 10 seconds // interval between two backups
244-
target-file = "eclair.sqlite.bak" // name of the target backup file; will be placed under the chain directory
245-
// override this with a script/exe that will be called everytime a new database backup has been created
246-
# notify-script = "/absolute/path/to/script.sh"
240+
file-backup {
241+
enabled = true // enable the automatic sqlite db backup; do not change this unless you know what you are doing
242+
interval = 10 seconds // interval between two backups
243+
target-file = "eclair.sqlite.bak" // name of the target backup file; will be placed under the chain directory
244+
// override this with a script/exe that will be called everytime a new database backup has been created
245+
# notify-script = "/absolute/path/to/script.sh"
246+
}
247247
}
248248

249249
akka {

0 commit comments

Comments
 (0)