clightning: set "database-upgrade=true" for 22.11.1

This commit is contained in:
Jonas Nick 2022-12-17 12:43:33 +00:00 committed by Greg Shuflin
parent 6b7b23cd6e
commit bc72ad94b3
1 changed files with 5 additions and 0 deletions

View File

@ -117,6 +117,11 @@ let
rpc-file-mode=0660
log-timestamps=false
${optionalString (cfg.wallet != null) "wallet=${cfg.wallet}"}
${ # TODO-EXTERNAL: When updating from a version of clightning before 22.11
# to version 22.11.1, then the database upgrade needs to be allowed
# explicitly. Remove this when it's unlikely that this module is used
# with a clightning version 22.11.1 package.
optionalString (cfg.package.version == "22.11.1") "database-upgrade=true"}
${cfg.extraConfig}
'';