bitcoind: remove 'StateDirectory'
This option is useless because we're doing our own state dir management via 'dataDir'.
This commit is contained in:
parent
bea9a87aae
commit
8807b9f6b2
@ -238,7 +238,6 @@ in {
|
|||||||
User = "${cfg.user}";
|
User = "${cfg.user}";
|
||||||
Group = "${cfg.group}";
|
Group = "${cfg.group}";
|
||||||
ExecStart = "${cfg.package}/bin/bitcoind ${cmdlineOptions}";
|
ExecStart = "${cfg.package}/bin/bitcoind ${cmdlineOptions}";
|
||||||
StateDirectory = "bitcoind";
|
|
||||||
PIDFile = "${pidFile}";
|
PIDFile = "${pidFile}";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
|
|
||||||
@ -287,7 +286,6 @@ in {
|
|||||||
User = "${cfg.user}";
|
User = "${cfg.user}";
|
||||||
Group = "${cfg.group}";
|
Group = "${cfg.group}";
|
||||||
ExecStart = "${pkgs.bash}/bin/bash ${pkgs.banlist}/bin/banlist ${pkgs.blockchains.bitcoind}";
|
ExecStart = "${pkgs.bash}/bin/bash ${pkgs.banlist}/bin/banlist ${pkgs.blockchains.bitcoind}";
|
||||||
StateDirectory = "bitcoind";
|
|
||||||
|
|
||||||
# Permission for preStart
|
# Permission for preStart
|
||||||
PermissionsStartOnly = "true";
|
PermissionsStartOnly = "true";
|
||||||
|
Loading…
Reference in New Issue
Block a user