[Pkg-mongodb-maintainers] [pkg-mongodb] 359/394: postinst: do not create the runtime directory

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Wed Sep 21 14:00:30 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 92a4bee6fbf303d3b9e87d046c3f5893d337ff4f
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date:   Mon Jan 18 18:34:25 2016 +0200

    postinst: do not create the runtime directory
    
    This is taken care of by the initscript and systemd unit.
---
 debian/mongodb-server.postinst | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/debian/mongodb-server.postinst b/debian/mongodb-server.postinst
index 86761b6..9d084de 100644
--- a/debian/mongodb-server.postinst
+++ b/debian/mongodb-server.postinst
@@ -34,10 +34,6 @@ case "$1" in
 	# create logdir -- note: this should agree with logpath in mongodb.conf
 	mkdir -p /var/log/mongodb
 	chown -R mongodb:mongodb /var/log/mongodb
-
-	# create rundir
-	mkdir -p /var/run/mongodb
-	chown -R mongodb:mongodb /var/run/mongodb
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)

-- 
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