fixed systemd user & pid

This commit is contained in:
Bryan Ramos 2024-05-14 23:14:22 -04:00
parent 129823f26e
commit 5f40193018
Signed by: bryan
GPG key ID: 6ABDCD144D6643C8

View file

@ -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";
}; };
}; };
}; };