summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/mongod.upstart4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/mongod.upstart b/debian/mongod.upstart
index ab04ca114a5..3a334c0f8ec 100644
--- a/debian/mongod.upstart
+++ b/debian/mongod.upstart
@@ -14,10 +14,10 @@ kill timeout 300 # wait 300s between SIGTERM and SIGKILL.
pre-start script
DAEMONUSER=${DAEMONUSER:-mongodb}
- if [ ! -d /var/lib/mongod ]; then
+ if [ ! -d /var/lib/mongodb ]; then
mkdir -p /var/lib/mongodb && chown mongodb:mongodb /var/lib/mongodb
fi
- if [ ! -d /var/log/mongod ]; then
+ if [ ! -d /var/log/mongodb ]; then
mkdir -p /var/log/mongodb && chown mongodb:mongodb /var/log/mongodb
fi
touch /var/run/mongodb.pid