]> git.pld-linux.org Git - packages/mongodb.git/blobdiff - mongodb.init
Better default config file provided
[packages/mongodb.git] / mongodb.init
index f9b8d5393346fc6addb0ab7d4490aeaeb97b43e8..99a4d7002059e5f625da797907292a7a50bc6468 100644 (file)
@@ -64,7 +64,7 @@ start() {
                        pidfile="${MONGOD_PIDFILE%.pid}-$instance.log"
                fi
                daemon --pidfile "$pidfile" --user $MONGOD_USER \
-                       $MONGOD_BIN --config "$config" run
+                       $MONGOD_BIN --config "$config" --fork
                [ $? -eq 0 ] && started=$(($started + 1))
        done
        # at least one started - the service is running
This page took 0.040546 seconds and 4 git commands to generate.