You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When tomcat is already stopped, the "restart" command exits with a failure instead of skipping the fail and starting tomcat.
$ /etc/init.d/tomcat status
tomcat is stopped
$ /etc/init.d/tomcat restart
Stopping tomcat: [FAILED]
The initd script misses a "status" function in order to check if tomcat needs indeed to be stopped or not. As of now, the error is due to an exit instruction found and called in the function "stop_server" during the restart process (https://github.com/ecivis/tomcat-rpm/blob/master/tomcat.init.sh#L76)
The text was updated successfully, but these errors were encountered:
When tomcat is already stopped, the "restart" command exits with a failure instead of skipping the fail and starting tomcat.
The initd script misses a "status" function in order to check if tomcat needs indeed to be stopped or not. As of now, the error is due to an
exit
instruction found and called in the function "stop_server" during the restart process (https://github.com/ecivis/tomcat-rpm/blob/master/tomcat.init.sh#L76)The text was updated successfully, but these errors were encountered: