diff options
author | Ernie Hershey <ernie.hershey@10gen.com> | 2015-08-19 09:27:26 -0400 |
---|---|---|
committer | Ernie Hershey <ernie.hershey@10gen.com> | 2015-08-26 09:17:55 -0400 |
commit | 4bd50b8f8985c2b95bc50a37268f92572c2ae313 (patch) | |
tree | 94bbc9a4fc5bd1180973e518dfa99770342d3138 /debian/mongod.upstart | |
parent | 9b054f00326b23a87ba0571cbd8997b91fe5ce16 (diff) | |
download | mongo-4bd50b8f8985c2b95bc50a37268f92572c2ae313.tar.gz |
SERVER-18749 Fix inconsistent directory name in upstart config
Diffstat (limited to 'debian/mongod.upstart')
-rw-r--r-- | debian/mongod.upstart | 4 |
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 |