Fix liquid data directory permission

This commit is contained in:
Jonas Nick 2019-08-01 12:43:23 +00:00
parent 30b04d075f
commit f58a2e62e3
No known key found for this signature in database
GPG Key ID: 4861DBF262123605

View File

@ -191,7 +191,7 @@ in {
fi
cp '${configFile}' '${cfg.dataDir}/liquid.conf'
chmod o-rw '${cfg.dataDir}/liquid.conf'
chown '${cfg.user}:${cfg.group}' '${cfg.dataDir}'
chown -R '${cfg.user}:${cfg.group}' '${cfg.dataDir}'
echo "rpcpassword=$(cat /secrets/liquid-rpcpassword)" >> '${cfg.dataDir}/liquid.conf'
echo "mainchainrpcpassword=$(cat /secrets/bitcoin-rpcpassword)" >> '${cfg.dataDir}/liquid.conf'
'';