7 # environment variables for the use with sonar
17 stat_busy
"Starting Nexus Repository Manager"
19 if [ ! -x $PID_DIR ] ; then
20 install -m755 -g nexus
-o nexus
-d $PID_DIR
23 su
-c "$BIN_DIR/nexus.sh start" nexus
31 stat_busy
"Stopping Nexus Repository Manager"
33 [ -f $PID_DIR/nexus.pid
] && su
-c "$BIN_DIR/nexus.sh stop" nexus
2>&1
47 echo "usage: $0 {start|stop|restart}"