diff --git a/modules/services/web-servers/apache-httpd/default.nix b/modules/services/web-servers/apache-httpd/default.nix index ce3311a5f598..c47df868b882 100644 --- a/modules/services/web-servers/apache-httpd/default.nix +++ b/modules/services/web-servers/apache-httpd/default.nix @@ -593,9 +593,7 @@ in done ''; - daemonType = "fork"; - - exec = "httpd -f ${httpdConf}"; + exec = "httpd -f ${httpdConf} -DNO_DETACH"; preStop = ''