From a479089282374c51a36a0977cc462b4e56700a79 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Thu, 26 Feb 2004 23:17:13 +0000 Subject: [PATCH] - graceful reload support Changed files: apache.init -> 1.11.2.1 --- apache.init | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/apache.init b/apache.init index 0432b79..ad1553a 100644 --- a/apache.init +++ b/apache.init @@ -64,8 +64,18 @@ case "$1" in $0 stop $0 start ;; + graceful) + if [ -f /var/lock/subsys/httpd ]; then + msg_reloading httpd + killproc httpd -USR1 + RETVAL=$? + else + msg_not_running httpd >&2 + RETVAL=7 + fi + ;; *) - msg_usage "$0 {start|stop|restart|status}" + msg_usage "$0 {start|stop|restart|graceful|status}" exit 1 ;; esac -- 2.44.0