p2pool: don't disable on power loss

p2pool is very light on resources, it's xmrig that should be disabled
This commit is contained in:
2026-04-09 14:44:13 -04:00
parent 0d87f90657
commit ae03c2f288

View File

@@ -33,12 +33,6 @@
wants = [ "monero.service" ];
};
# Stop p2pool on UPS battery to conserve power
services.apcupsd.hooks = lib.mkIf config.services.apcupsd.enable {
onbattery = "systemctl stop p2pool";
offbattery = "systemctl start p2pool";
};
networking.firewall.allowedTCPPorts = [
service_configs.ports.public.p2pool_p2p.port
];