bitcoind-remote: fix quotation marks in preStart script

This commit is contained in:
Otto Sabart 2022-07-15 23:40:16 +02:00
parent 7e94b7eddc
commit 03b75a0254
No known key found for this signature in database
GPG Key ID: 823BAE99F8BE1E3C

View File

@ -13,7 +13,7 @@ in {
systemd.services.bitcoind = {
preStart = lib.mkAfter ''
echo "rpcpassword=$(cat ${secretsDir}/bitcoin-rpcpassword-privileged)" >> '${cfg.dataDir}'/bitcoin.conf
echo "rpcpassword=$(cat ${secretsDir}/bitcoin-rpcpassword-privileged)" >> '${cfg.dataDir}/bitcoin.conf'
'';
postStart = lib.mkForce "";
serviceConfig = {