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:
parent
404e681f02
commit
fd3d1a834b
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue