diff options
Diffstat (limited to '2.2')
-rwxr-xr-x | 2.2/init/apache2.initd | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/2.2/init/apache2.initd b/2.2/init/apache2.initd index 3c0f15e..b699fc6 100755 --- a/2.2/init/apache2.initd +++ b/2.2/init/apache2.initd @@ -1,8 +1,8 @@ #!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -opts="configtest fullstatus graceful gracefulstop reload" +opts="configtest fullstatus graceful gracefulstop modules reload" depend() { need net @@ -101,6 +101,12 @@ gracefulstop() { eend $? } +modules() { + checkconfig || return 1 + + ${APACHE2} ${APACHE2_OPTS} -M 2>&1 +} + status() { LYNX="${LYNX:-lynx -dump}" STATUSURL="${STATUSURL:-http://localhost/server-status}" |