Move 'restart' into 'serviceConfig'
This commit is contained in:
parent
6e002176af
commit
40c136217d
|
@ -59,7 +59,6 @@ in {
|
||||||
after = [ "graphical-session.target" ];
|
after = [ "graphical-session.target" ];
|
||||||
path = with pkgs; [ nettools xprintidle ];
|
path = with pkgs; [ nettools xprintidle ];
|
||||||
restartIfChanged = true;
|
restartIfChanged = true;
|
||||||
restart = "always";
|
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = pkgs.writeShellScript "launch-wallfly.sh" ''
|
ExecStart = pkgs.writeShellScript "launch-wallfly.sh" ''
|
||||||
${pkgs.wallfly}/bin/wallfly \
|
${pkgs.wallfly}/bin/wallfly \
|
||||||
|
|
Loading…
Reference in New Issue