mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-23 06:42:51 +03:00
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}";
|
||||
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";
|
||||
|
Loading…
Reference in New Issue
Block a user