[Pkg-mongodb-maintainers] [pkg-mongodb] 360/394: systemd: specify the runtime directory mode

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Wed Sep 21 14:00:31 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 60cef57ce93bb9b7b9c737802008dd6145689932
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date:   Mon Jan 18 18:35:09 2016 +0200

    systemd: specify the runtime directory mode
    
    Have it match the initscript's RUNDIR mode, otherwise systemd will
    refuse to proceed if the runtime directory has already been created by
    the initscript.
---
 debian/mongodb-server.mongodb.service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/mongodb-server.mongodb.service b/debian/mongodb-server.mongodb.service
index 33c4a76..1b5dbce 100644
--- a/debian/mongodb-server.mongodb.service
+++ b/debian/mongodb-server.mongodb.service
@@ -5,6 +5,7 @@ Documentation=man:mongod(1)
 [Service]
 User=mongodb
 RuntimeDirectory=mongodb
+RuntimeDirectoryMode=0755
 ExecStart=/usr/bin/mongod --config /etc/mongodb.conf
 
 [Install]

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