wso2 / product-is

Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
748 stars 728 forks source link

Linux daemon script: "update-rc.d: error: identityserver Default-Start contains no runlevels, aborting." #2151

Closed hauntingEcho closed 6 years ago

hauntingEcho commented 6 years ago

when trying to use the sysVinit script from the documentation, it gives the error "update-rc.d: error: identityserver Default-Start contains no runlevels, aborting." I was able to get it working by adding the following after the shebang:

### BEGIN INIT INFO
# Provides:          wso2is
# Required-Start:    $all
# Required-Stop:
# Default-Start:     2 3 4 5
# Default-Stop:
# Short-Description: starts the wso2 identity server
### END INIT INFO
Nashaath commented 6 years ago

Updated the basic startup script structure to include the suggested changes after shebang.

Did this change in doc versions 5.4.0 through 5.7.0.