Uploaded image for project: 'JBoss Core Services'
  1. JBoss Core Services
  2. JBCS-1146

Difference between zip and rpm versions of Apachectl

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • httpd 2.4.57 GA
    • httpd 2.4.37 SP6 CR2
    • httpd
    • None
    • False
    • False
    • Undefined

    Description

      ***
      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
      ***

      Attachments

        Activity

          People

            vchlup@redhat.com Vladimir Chlup
            plodge Paul Lodge
            Santiago Gala Santiago Gala
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: