From ab177c48168069c9ba90078b32cdb5a307c67cf1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 23 Apr 2012 07:06:50 +0000 Subject: [PATCH] - restore LSB header (can be useful with systemd) Changed files: mongodb.init -> 1.3 --- mongodb.init | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mongodb.init b/mongodb.init index 6102259..d8bed58 100644 --- a/mongodb.init +++ b/mongodb.init @@ -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 -- 2.44.0