packages: mongodb/mongodb.init - formatting

glen glen at pld-linux.org
Mon Apr 23 09:07:54 CEST 2012


Author: glen                         Date: Mon Apr 23 07:07:54 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- formatting

---- Files affected:
packages/mongodb:
   mongodb.init (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/mongodb/mongodb.init
diff -u packages/mongodb/mongodb.init:1.3 packages/mongodb/mongodb.init:1.4
--- packages/mongodb/mongodb.init:1.3	Mon Apr 23 09:06:50 2012
+++ packages/mongodb/mongodb.init	Mon Apr 23 09:07:49 2012
@@ -45,11 +45,11 @@
 		return
 	fi
 
-    msg_starting "mongod"
-    daemon --pidfile $MONGOD_PIDFILE --user $MONGOD_USER \
-        $MONGOD_BIN --config /etc/mongod.conf run
-    ret=$?
-    [ $ret = 0 ] || RETVAL=$?
+	msg_starting "mongod"
+	daemon --pidfile $MONGOD_PIDFILE --user $MONGOD_USER \
+		$MONGOD_BIN --config /etc/mongod.conf run
+	ret=$?
+	[ $ret = 0 ] || RETVAL=$?
 	[ $RETVAL -eq 0 ] && touch /var/lock/subsys/mongod
 }
 
@@ -59,8 +59,8 @@
 		return
 	fi
 
-    msg_stopping "mongod"
-    killproc --pidfile $MONGOD_PIDFILE mongod
+	msg_stopping "mongod"
+	killproc --pidfile $MONGOD_PIDFILE mongod
 	rm -f /var/lock/subsys/mongod >/dev/null 2>&1
 }
 
@@ -82,8 +82,8 @@
 		return
 	fi
 
-    msg_reloading "mongod"
-    killproc --pidfile $MONGOD_PIDFILE mongod -HUP
+	msg_reloading "mongod"
+	killproc --pidfile $MONGOD_PIDFILE mongod -HUP
 }
 
 RETVAL=0
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/mongodb/mongodb.init?r1=1.3&r2=1.4



More information about the pld-cvs-commit mailing list