Merge branch 'liquid-perm'

This commit is contained in:
Jonas Nick 2019-08-05 07:51:48 +00:00
commit cea48c0e7c
No known key found for this signature in database
GPG Key ID: 4861DBF262123605

View File

@ -191,7 +191,7 @@ in {
fi fi
cp '${configFile}' '${cfg.dataDir}/liquid.conf' cp '${configFile}' '${cfg.dataDir}/liquid.conf'
chmod o-rw '${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 "rpcpassword=$(cat /secrets/liquid-rpcpassword)" >> '${cfg.dataDir}/liquid.conf'
echo "mainchainrpcpassword=$(cat /secrets/bitcoin-rpcpassword)" >> '${cfg.dataDir}/liquid.conf' echo "mainchainrpcpassword=$(cat /secrets/bitcoin-rpcpassword)" >> '${cfg.dataDir}/liquid.conf'
''; '';