disable redundant logfile

This commit is contained in:
Erik Arvstedt 2020-04-07 23:05:05 +02:00
parent a05551fd1c
commit 4e5c1d7551
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -7,6 +7,9 @@ let
inherit (config) nix-bitcoin-services; inherit (config) nix-bitcoin-services;
configFile = pkgs.writeText "bitcoin.conf" '' configFile = pkgs.writeText "bitcoin.conf" ''
# We're already logging via journald
nodebuglogfile=1
${optionalString cfg.testnet "testnet=1"} ${optionalString cfg.testnet "testnet=1"}
${optionalString (cfg.dbCache != null) "dbcache=${toString cfg.dbCache}"} ${optionalString (cfg.dbCache != null) "dbcache=${toString cfg.dbCache}"}
${optionalString (cfg.prune != null) "prune=${toString cfg.prune}"} ${optionalString (cfg.prune != null) "prune=${toString cfg.prune}"}