mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
fixed systemd user & pid
This commit is contained in:
parent
129823f26e
commit
5f40193018
1 changed files with 3 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ in
|
||||||
btc = "bitcoind";
|
btc = "bitcoind";
|
||||||
};
|
};
|
||||||
|
|
||||||
#networking.firewall.allowedTCPPorts = [ 8333 ];
|
networking.firewall.allowedTCPPorts = [ 8333 ];
|
||||||
|
|
||||||
services.bitcoind = {
|
services.bitcoind = {
|
||||||
"btc" = {
|
"btc" = {
|
||||||
|
|
@ -54,6 +54,8 @@ in
|
||||||
user = "btc";
|
user = "btc";
|
||||||
group = "bitcoin";
|
group = "bitcoin";
|
||||||
configFile = conf;
|
configFile = conf;
|
||||||
|
dataDir = home;
|
||||||
|
pidFile = "${home}/bitcoind.pid";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue