summaryrefslogtreecommitdiff
path: root/debian/init.d
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-08-31 13:20:48 -0400
committerEliot Horowitz <eliot@10gen.com>2009-08-31 13:20:48 -0400
commitc3984ceaba6d55d819aa0a8351400e2a3cc64188 (patch)
treea86d08e89a7f517725ebb22b8bb7f481e1cc5cac /debian/init.d
parentd4b7c8a525637599556f676325188464578e89aa (diff)
downloadmongo-c3984ceaba6d55d819aa0a8351400e2a3cc64188.tar.gz
use --logfile
Diffstat (limited to 'debian/init.d')
-rw-r--r--debian/init.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/init.d b/debian/init.d
index 20dd23ca20b..95eac8f6983 100644
--- a/debian/init.d
+++ b/debian/init.d
@@ -49,7 +49,6 @@
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/bin/mongod
DATA=/var/lib/mongodb
-DAEMON_OPTS="--dbpath $DATA run"
NAME=MongoDB
DESC=database
@@ -72,6 +71,7 @@ DIETIME=10 # Time to wait for the server to die, in seconds
# 'restart' will not work
LOGFILE=$LOGDIR/$NAME.log # Server logfile
+DAEMON_OPTS="--dbpath $DATA --logpath $LOGFILE run"
# Include mongodb defaults if available