[Pkg-mongodb-maintainers] [pkg-mongodb] 13/394: added STARTTIME to init.d and unified daemon name to present logs in consistent names

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Wed Sep 21 13:57:43 UTC 2016


This is an automated email from the git hooks/post-receive script.

apoikos pushed a commit to branch master
in repository pkg-mongodb.

commit e5e3ec8985e595e6b130a7ba286b2473df794c0e
Author: Antonin Kral <a.kral at bobek.cz>
Date:   Sun Jan 31 10:15:05 2010 +0100

    added STARTTIME to init.d and unified daemon name to present logs in consistent names
---
 debian/init.d | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/init.d b/debian/init.d
index b4eedf0..3e8fbc9 100644
--- a/debian/init.d
+++ b/debian/init.d
@@ -49,7 +49,7 @@
 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
 DAEMON=/usr/bin/mongod
 DATA=/var/lib/mongodb
-NAME=MongoDB
+NAME=mongodb
 DESC=database
 
 if test ! -x $DAEMON; then
@@ -65,6 +65,7 @@ fi
 
 LOGDIR=/var/log/mongodb
 PIDFILE=/var/run/$NAME.pid
+STARTTIME=1
 DIETIME=10                   # Time to wait for the server to die, in seconds
                             # If this value is set too low you might not
                             # let some servers to die gracefully and

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mongodb/pkg-mongodb.git



More information about the Pkg-mongodb-maintainers mailing list