nixos/fancontrol: restart on-failure

This commit is contained in:
Evils 2021-05-22 13:58:17 +02:00 committed by Evils
parent b165ce0c4e
commit 9cb2107476

View File

@ -38,6 +38,7 @@ in
after = [ "lm_sensors.service" ];
serviceConfig = {
Restart = "on-failure";
ExecStart = "${pkgs.lm_sensors}/sbin/fancontrol ${configFile}";
};
};