From 8807b9f6b296f7ab36382c4bda94fc2fbc1b4828 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Tue, 12 Nov 2019 19:40:29 +0100 Subject: [PATCH] bitcoind: remove 'StateDirectory' This option is useless because we're doing our own state dir management via 'dataDir'. --- modules/bitcoind.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/bitcoind.nix b/modules/bitcoind.nix index b2f6827..74f53cc 100644 --- a/modules/bitcoind.nix +++ b/modules/bitcoind.nix @@ -238,7 +238,6 @@ in { User = "${cfg.user}"; Group = "${cfg.group}"; ExecStart = "${cfg.package}/bin/bitcoind ${cmdlineOptions}"; - StateDirectory = "bitcoind"; PIDFile = "${pidFile}"; Restart = "on-failure"; @@ -287,7 +286,6 @@ in { User = "${cfg.user}"; Group = "${cfg.group}"; ExecStart = "${pkgs.bash}/bin/bash ${pkgs.banlist}/bin/banlist ${pkgs.blockchains.bitcoind}"; - StateDirectory = "bitcoind"; # Permission for preStart PermissionsStartOnly = "true";