[jboss-jira] [JBoss JIRA] (WFCORE-984) Scripts for running EAP as service on RHEL contains unsupported option "reload" in help message

Tomaz Cerar (JIRA) issues at jboss.org
Tue Oct 20 05:51:00 EDT 2015


     [ https://issues.jboss.org/browse/WFCORE-984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomaz Cerar updated WFCORE-984:
-------------------------------
    Fix Version/s: 2.0.0.CR8


> Scripts for running EAP as service on RHEL contains unsupported option "reload" in help message
> -----------------------------------------------------------------------------------------------
>
>                 Key: WFCORE-984
>                 URL: https://issues.jboss.org/browse/WFCORE-984
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Scripts
>    Affects Versions: 2.0.0.Beta4
>            Reporter: Marek Kopecký
>            Assignee: Tomaz Cerar
>            Priority: Minor
>             Fix For: 2.0.0.CR8
>
>
> *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:*
> # cd EAP_HOME/bin/init.d/
> # ./wildfly-init-redhat.sh reload
> *Actual results:*
> {noformat}Usage: ./wildfly-init-redhat.sh {start|stop|status|restart|reload}{noformat}
> *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):
> {noformat}
> ...
> 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
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jboss-jira mailing list