Fix liquid data directory permission
This commit is contained in:
parent
30b04d075f
commit
f58a2e62e3
|
@ -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'
|
||||
'';
|
||||
|
|
Loading…
Reference in New Issue
Block a user