Merge pull request #144210 from evils/fancontrol

nixos/fancontrol: restart on-failure
This commit is contained in:
Michele Guerini Rocco 2021-11-02 10:22:25 +01:00 committed by GitHub
commit b67e752c29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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