httpd: add -i (inetd) and -f (foreground) otions.

-i makes possible to run httpd in both inetd and standalone mode
without recompile (or need to have two different binaries)
This commit is contained in:
Denis Vlasenko
2006-11-16 16:17:02 +00:00
parent e867b7ce86
commit 0871bc89fb
3 changed files with 56 additions and 90 deletions

View File

@@ -69,14 +69,6 @@ config HTTPD
help
Serve web pages via an HTTP server.
config FEATURE_HTTPD_WITHOUT_INETD
bool "Support using httpd as a daemon (not from inetd)"
default n
depends on HTTPD
help
This option enables uid and port options for the httpd applet,
and eliminates the need to be called from the inetd server daemon.
config FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP
bool "Support reloading the global config file using hup signal"
default n