illum: Restart service on failure

If there is a fatal error and illum exits, it should be safe to restart it.
main
Claudio Bley 2 years ago
parent 404e681f02
commit fd3d1a834b
  1. 1
      nixos/modules/services/hardware/illum.nix

@ -28,6 +28,7 @@ in {
description = "Backlight Adjustment Service";
wantedBy = [ "multi-user.target" ];
serviceConfig.ExecStart = "${pkgs.illum}/bin/illum-d";
serviceConfig.Restart = "on-failure";
};
};

Loading…
Cancel
Save