Restart the job if it fails.
This commit is contained in:
parent
f7bde8592f
commit
6e002176af
|
@ -58,6 +58,8 @@ in {
|
|||
wantedBy = [ "graphical-session.target" ];
|
||||
after = [ "graphical-session.target" ];
|
||||
path = with pkgs; [ nettools xprintidle ];
|
||||
restartIfChanged = true;
|
||||
restart = "always";
|
||||
serviceConfig = {
|
||||
ExecStart = pkgs.writeShellScript "launch-wallfly.sh" ''
|
||||
${pkgs.wallfly}/bin/wallfly \
|
||||
|
|
Loading…
Reference in New Issue