]
Marek Kopecký moved JBEAP-1079 to WFCORE-984:
---------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-984 (was: JBEAP-1079)
Workflow: GIT Pull Request workflow (was: CDW v1)
Component/s: Scripts
(was: Scripts)
Target Release: (was: 7.0.0.GA)
Affects Version/s: 2.0.0.Beta4
(was: 7.0.0.DR9)
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
*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}