-
Bug
-
Resolution: Done
-
Major
-
httpd 2.4.37 SP6 CR2
-
None
-
False
-
False
-
-
-
-
-
-
Undefined
***
45c45
< HTTPD='/opt/rh/jbcs-httpd24/root/usr/sbin/httpd'
—
> HTTPD='./httpd'
96,102d95
< if [ "x$2" != "x" ] ; then
< echo Passing arguments to httpd using apachectl is no longer supported.
< echo You can only start/stop/restart/graceful/graceful-stop httpd using this script.
< echo If you want to pass extra arguments to httpd, edit the
< echo /opt/rh/jbcs-httpd24/root/etc/sysconfig/httpd config file.
< fi
<
104,117c97,98
< start|stop|restart)
< /usr/bin/systemctl $ARGV jbcs-httpd24-httpd.service
< ERROR=$?
< ;;
< graceful)
< if /usr/bin/systemctl -q is-active jbcs-httpd24-httpd.service; then
< /usr/bin/systemctl reload jbcs-httpd24-httpd.service
< else
< /usr/bin/systemctl start jbcs-httpd24-httpd.service
< fi
< ERROR=$?
< ;;
< graceful-stop)
< /usr/bin/systemctl stop jbcs-httpd24-httpd.service
—
> start|stop|restart|graceful|graceful-stop)
> $HTTPD $OPTIONS -k $ARGV
***