[Pkg-mongodb-maintainers] [pkg-mongodb] 377/394: upstart: create /var/run/mongodb
Apollon Oikonomopoulos
apoikos at moszumanska.debian.org
Wed Sep 21 14:00:36 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 407c26a17e6c3f604ddc24b0c5a3cbc19f3bac66
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date: Thu Feb 11 00:38:56 2016 +0200
upstart: create /var/run/mongodb
Create /var/run/mongodb before each run if needed.
Also remove the mkdir calls to /var/{lib,log}/mongodb, as these are
created by the package.
---
debian/mongodb-server.mongodb.upstart | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/debian/mongodb-server.mongodb.upstart b/debian/mongodb-server.mongodb.upstart
index 69f6a10..e412325 100644
--- a/debian/mongodb-server.mongodb.upstart
+++ b/debian/mongodb-server.mongodb.upstart
@@ -9,8 +9,7 @@ limit nofile 64000 64000
kill timeout 300 # wait 300s between SIGTERM and SIGKILL.
pre-start script
- mkdir -p /var/lib/mongodb/
- mkdir -p /var/log/mongodb/
+ [ -e /var/run/mongodb ] || install -m 755 -o mongodb -g mongodb -d /var/run/mongodb
end script
script
--
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