updated init script and added patch for the wrapper starting script

This commit is contained in:
Manuel Friedli 2014-11-19 13:44:32 +01:00
parent 3454ba60cf
commit 0f720e9a40
4 changed files with 54 additions and 5 deletions

View file

@ -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 $?
}