illum: Restart service on failure
If there is a fatal error and illum exits, it should be safe to restart it.
This commit is contained in:
@@ -28,6 +28,7 @@ in {
|
|||||||
description = "Backlight Adjustment Service";
|
description = "Backlight Adjustment Service";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
serviceConfig.ExecStart = "${pkgs.illum}/bin/illum-d";
|
serviceConfig.ExecStart = "${pkgs.illum}/bin/illum-d";
|
||||||
|
serviceConfig.Restart = "on-failure";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user