packages: mongodb/mongodb.init - restore LSB header (can be useful with sys...

glen glen at pld-linux.org
Mon Apr 23 09:06:55 CEST 2012


Author: glen                         Date: Mon Apr 23 07:06:55 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- restore LSB header (can be useful with systemd)

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

---- Diffs:

================================================================
Index: packages/mongodb/mongodb.init
diff -u packages/mongodb/mongodb.init:1.2 packages/mongodb/mongodb.init:1.3
--- packages/mongodb/mongodb.init:1.2	Mon Apr 23 00:27:13 2012
+++ packages/mongodb/mongodb.init	Mon Apr 23 09:06:50 2012
@@ -9,6 +9,17 @@
 # processname:	mongod
 # pidfile:      /var/run/mongod.pid
 #
+### BEGIN INIT INFO
+# Provides:          mongod
+# Required-Start: $syslog $local_fs $network
+# Required-Stop:  $syslog $local_fs $network
+# Should-Start:   $remote_fs
+# Should-Stop:    $remote_fs
+# Default-Start:     3 4 5
+# Default-Stop:      0 1 2 6
+# Short-Description: MongoDB server
+# Description:       Starts and stops the MongoDB daemon
+### END INIT INFO
 
 # Source function library
 . /etc/rc.d/init.d/functions
================================================================

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



More information about the pld-cvs-commit mailing list