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

This commit is contained in:
Jonas Nick 2022-12-17 12:43:33 +00:00
parent 875fac6862
commit d1b3a4617d
No known key found for this signature in database
GPG Key ID: 4861DBF262123605
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}
'';