8 PID
=`pidof /usr/bin/mongod`
11 stat_busy
"Starting mongod"
12 [ -z "$PID" ] && /bin
/su mongodb
-c "/usr/bin/mongod ${MONGOD_ARGS} run &" > /var
/log
/mongod
2>&1
21 stat_busy
"Stopping mongod"
22 [ ! -z "$PID" ] && kill $PID &> /dev
/null
35 echo "usage: $0 {start|stop|restart}"