[Pkg-mongodb-maintainers] [pkg-mongodb] 381/394: lint: /var/run -> /run

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Wed Sep 21 14:00:37 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 9d8d6708ad879fd4e3fe20c3f86af39774732a5a
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date:   Thu Feb 11 14:08:11 2016 +0200

    lint: /var/run -> /run
---
 debian/mongodb-server.mongodb.init    | 2 +-
 debian/mongodb-server.mongodb.upstart | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/mongodb-server.mongodb.init b/debian/mongodb-server.mongodb.init
index f9caa22..bc204fa 100644
--- a/debian/mongodb-server.mongodb.init
+++ b/debian/mongodb-server.mongodb.init
@@ -55,7 +55,7 @@ DESC=database
 # Default defaults.  Can be overridden by the /etc/default/$NAME
 NAME=mongodb
 CONF=/etc/mongodb.conf
-RUNDIR=/var/run/mongodb
+RUNDIR=/run/mongodb
 PIDFILE=$RUNDIR/$NAME.pid
 ENABLE_MONGODB=yes
 
diff --git a/debian/mongodb-server.mongodb.upstart b/debian/mongodb-server.mongodb.upstart
index e412325..537be20 100644
--- a/debian/mongodb-server.mongodb.upstart
+++ b/debian/mongodb-server.mongodb.upstart
@@ -9,7 +9,7 @@ limit nofile 64000 64000
 kill timeout 300 # wait 300s between SIGTERM and SIGKILL.
 
 pre-start script
-    [ -e /var/run/mongodb ] || install -m 755 -o mongodb -g mongodb -d /var/run/mongodb
+    [ -e /run/mongodb ] || install -m 755 -o mongodb -g mongodb -d /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