mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
nixos/fancontrol: restart on-failure
This commit is contained in:
parent
b165ce0c4e
commit
9cb2107476
@ -38,6 +38,7 @@ in
|
||||
after = [ "lm_sensors.service" ];
|
||||
|
||||
serviceConfig = {
|
||||
Restart = "on-failure";
|
||||
ExecStart = "${pkgs.lm_sensors}/sbin/fancontrol ${configFile}";
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user