updated init script and added patch for the wrapper starting script
This commit is contained in:
parent
3454ba60cf
commit
0f720e9a40
4 changed files with 54 additions and 5 deletions
|
@ -15,12 +15,12 @@ start() {
|
|||
checkconfig || return 1
|
||||
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
su $RUN_AS -c "/opt/nexus/nexus-oss-webapp/bin/jsw/linux-x86-32/wrapper start"
|
||||
su $RUN_AS -c "/opt/nexus/nexus-oss-webapp/bin/nexus start"
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
su $RUN_AS -c "/opt/nexus/nexus-oss-webapp/bin/jsw/linux-x86-32/wrapper stop"
|
||||
su $RUN_AS -c "/opt/nexus/nexus-oss-webapp/bin/nexus stop"
|
||||
eend $?
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue