Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-984

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 2.0.0.CR8
    • 2.0.0.Beta4
    • Scripts
    • None

    Description

      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
        

      Attachments

        Issue Links

          Activity

            People

              tomazcerar Tomaž Cerar (Inactive)
              mkopecky@redhat.com Marek Kopecky
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: