From 9a81e9cd9e469920c2a4c753bc403cb8b79afaf7 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Sat, 18 May 2019 19:08:09 -0700 Subject: 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 --- nixos/modules/services/networking/xinetd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/xinetd.nix b/nixos/modules/services/networking/xinetd.nix index 002245027804..2d7cd5cebb48 100644 --- a/nixos/modules/services/networking/xinetd.nix +++ b/nixos/modules/services/networking/xinetd.nix @@ -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}"; }; }; } -- cgit 1.4.1