Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-1078

Scripts for running EAP as service on RHEL contains unsupported option "reload" in help message

XMLWordPrintable

      Description of problem:
      wildfly-init-redhat.sh contains reload option in help message, but this option is not supported by the script and returns usage message.

      How reproducible:
      Always

      Steps to Reproduce:

      1. cd EAP_HOME/bin/init.d/
      2. ./wildfly-init-redhat.sh reload

      Actual results:

      Usage: ./wildfly-init-redhat.sh {start|stop|status|restart|reload}

      Expected results:
      Reload option is not in "Usage message" or reload option is supported by the script.

      Additional info:

      • Name of this script will be renamed in EAP (JBEAP-763)
      • 6.x bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=977794
      • Part of script (case for reload is missing):
        ...
        case "$1" in
        	start)
        		start
        		;;
        	stop)
        		stop
        		;;
        	restart)
        		$0 stop
        		$0 start
        		;;
        	status)
        		status
        		;;
        	*)
        		## If no parameters are given, print which are avaiable.
        		echo "Usage: $0 {start|stop|status|restart|reload}"
        		exit 1
        		;;
        esac
        

              vdosoudi@redhat.com Vladimir Dosoudil
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: