xinetd: exec xinetd on launch

I noticed xinetd process doesn't get exec'd on launch, exec here so the bash
process doesn't stick around.

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin 2019-05-18 19:08:09 -07:00 committed by zimbatm
parent baac84c2c4
commit 9a81e9cd9e

View File

@ -146,7 +146,7 @@ in
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
path = [ pkgs.xinetd ];
script = "xinetd -syslog daemon -dontfork -stayalive -f ${configFile}";
script = "exec xinetd -syslog daemon -dontfork -stayalive -f ${configFile}";
};
};
}