Merge fort-nix/nix-bitcoin#515: bitcoind-remote: fix quotation marks in preStart script

03b75a0254 bitcoind-remote: fix quotation marks in preStart script (Otto Sabart)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK 03b75a0254

Tree-SHA512: d625968033b18358bb47cdb39bcb85b8707c84838843597db3f4a37979d583285d1ee38391bc231aba8f7abdd870cd5c8d5260f78d111fa77f429c831870fa24
This commit is contained in:
Jonas Nick 2022-07-17 19:38:44 +00:00
commit 90249d9cc4
No known key found for this signature in database
GPG Key ID: 4861DBF262123605

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 = {