diff options
author | root <root@rshg047.dnsready.net> | 2011-07-03 23:10:20 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-07-03 23:10:20 +0000 |
commit | 067b127a853780b2b4ae7236dcdaaf72396dfa86 (patch) | |
tree | ec55d0d4115d7c9fc0eb9e1a82a2553f4e0cd3aa /community/mongodb/mongodb.rc | |
parent | 1732308adb7885b00fc388f978e65b3ad15aa067 (diff) |
Sun Jul 3 23:10:20 UTC 2011
Diffstat (limited to 'community/mongodb/mongodb.rc')
-rwxr-xr-x | community/mongodb/mongodb.rc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/community/mongodb/mongodb.rc b/community/mongodb/mongodb.rc index b808a2fb0..517258f63 100755 --- a/community/mongodb/mongodb.rc +++ b/community/mongodb/mongodb.rc @@ -8,7 +8,7 @@ PID=`pidof /usr/bin/mongod` case "$1" in start) stat_busy "Starting mongodb" - [ -z "$PID" ] && /bin/su mongodb -s /bin/bash -c "/usr/bin/mongod --config /etc/mongodb.conf &" > /var/log/mongod 2>&1 + [ -z "$PID" ] && /bin/su mongodb -c "/usr/bin/mongod --config /etc/mongodb.conf --fork" > /dev/null if [ $? -gt 0 ]; then stat_fail else |