2 Upstream-Status: vendor specific patch
4 diff --git a/support/apachectl.in b/support/apachectl.in
5 index c6ac3ea..2599386 100644
6 --- a/support/apachectl.in
7 +++ b/support/apachectl.in
8 @@ -100,9 +100,24 @@ fi
12 +if [ "x$2" != "x" ] ; then
13 + echo Passing arguments to httpd using apachectl is no longer supported.
14 + echo You can only start/stop/restart httpd using this script.
15 + echo If you want to pass extra arguments to httpd, edit the
16 + echo /etc/sysconfig/httpd config file.
20 -start|stop|restart|graceful|graceful-stop)
21 - $HTTPD $OPTIONS -k $ARGV
22 +start|stop|restart|status)
23 + /usr/bin/systemctl $ACMD httpd.service
27 + /usr/bin/systemctl reload httpd.service
31 + /usr/bin/systemctl stop httpd.service
34 startssl|sslstart|start-SSL)
35 @@ -114,10 +129,6 @@ startssl|sslstart|start-SSL)
41 - $LYNX $STATUSURL | awk ' /process$/ { print; exit } { print } '