summaryrefslogtreecommitdiff
path: root/dev-db
diff options
context:
space:
mode:
authorAlexys Jacob <ultrabug@gentoo.org>2014-05-26 08:03:45 +0000
committerAlexys Jacob <ultrabug@gentoo.org>2014-05-26 08:03:45 +0000
commit3bdf7009f8db823512a97f70959d26288ca218cf (patch)
tree29636d0671986c19aecc6f0b9310d13a795d3ead /dev-db
parentBump (diff)
downloadgentoo-2-3bdf7009f8db823512a97f70959d26288ca218cf.tar.gz
gentoo-2-3bdf7009f8db823512a97f70959d26288ca218cf.tar.bz2
gentoo-2-3bdf7009f8db823512a97f70959d26288ca218cf.zip
fix init script user and group execution
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key B658FA13)
Diffstat (limited to 'dev-db')
-rw-r--r--dev-db/mongodb/ChangeLog9
-rw-r--r--dev-db/mongodb/files/mms-agent.initd-r23
-rw-r--r--dev-db/mongodb/files/mongodb.initd-r23
-rw-r--r--dev-db/mongodb/files/mongos.initd-r23
-rw-r--r--dev-db/mongodb/mongodb-2.6.1-r1.ebuild (renamed from dev-db/mongodb/mongodb-2.6.1.ebuild)2
5 files changed, 15 insertions, 5 deletions
diff --git a/dev-db/mongodb/ChangeLog b/dev-db/mongodb/ChangeLog
index b2e951c81c3a..dd305b973743 100644
--- a/dev-db/mongodb/ChangeLog
+++ b/dev-db/mongodb/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-db/mongodb
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/ChangeLog,v 1.91 2014/05/14 09:16:49 ultrabug Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/ChangeLog,v 1.92 2014/05/26 08:03:45 ultrabug Exp $
+
+*mongodb-2.6.1-r1 (26 May 2014)
+
+ 26 May 2014; Ultrabug <ultrabug@gentoo.org> -mongodb-2.6.1.ebuild,
+ +mongodb-2.6.1-r1.ebuild, files/mms-agent.initd-r2, files/mongodb.initd-r2,
+ files/mongos.initd-r2:
+ fix init script user and group execution
*mongodb-2.6.1 (14 May 2014)
diff --git a/dev-db/mongodb/files/mms-agent.initd-r2 b/dev-db/mongodb/files/mms-agent.initd-r2
index 82fde9635040..1914b7e0430a 100644
--- a/dev-db/mongodb/files/mms-agent.initd-r2
+++ b/dev-db/mongodb/files/mms-agent.initd-r2
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mms-agent.initd-r2,v 1.1 2014/05/14 09:16:49 ultrabug Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mms-agent.initd-r2,v 1.2 2014/05/26 08:03:45 ultrabug Exp $
logfile=/var/log/mongodb/mms-agent.log
run_dir=${run_dir:-/run/mongodb}
@@ -12,6 +12,7 @@ command_background="true"
pidfile=${run_dir}/${SVCNAME}.pid
user=${user:-mongodb}
group=${group:-mongodb}
+start_stop_daemon_args="--user ${user} --group ${group}"
depend() {
need net
diff --git a/dev-db/mongodb/files/mongodb.initd-r2 b/dev-db/mongodb/files/mongodb.initd-r2
index ee693f7bd4ab..7a9d4f3f5851 100644
--- a/dev-db/mongodb/files/mongodb.initd-r2
+++ b/dev-db/mongodb/files/mongodb.initd-r2
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mongodb.initd-r2,v 1.1 2014/05/14 09:16:49 ultrabug Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mongodb.initd-r2,v 1.2 2014/05/26 08:03:45 ultrabug Exp $
config_file=${config_file:-/etc/${SVCNAME}.conf}
run_dir=${run_dir:-/run/mongodb}
@@ -12,6 +12,7 @@ command_background="true"
pidfile=${run_dir}/${SVCNAME}.pid
user=${user:-mongodb}
group=${group:-mongodb}
+start_stop_daemon_args="--user ${user} --group ${group}"
depend() {
use net
diff --git a/dev-db/mongodb/files/mongos.initd-r2 b/dev-db/mongodb/files/mongos.initd-r2
index 130130da7647..eb263939d1f2 100644
--- a/dev-db/mongodb/files/mongos.initd-r2
+++ b/dev-db/mongodb/files/mongos.initd-r2
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mongos.initd-r2,v 1.1 2014/05/14 09:16:49 ultrabug Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mongos.initd-r2,v 1.2 2014/05/26 08:03:45 ultrabug Exp $
config_file=${config_file:-/etc/${SVCNAME}.conf}
run_dir=${run_dir:-/run/mongodb}
@@ -12,6 +12,7 @@ command_background="true"
pidfile=${run_dir}/${SVCNAME}.pid
user=${user:-mongodb}
group=${group:-mongodb}
+start_stop_daemon_args="--user ${user} --group ${group}"
depend() {
use net
diff --git a/dev-db/mongodb/mongodb-2.6.1.ebuild b/dev-db/mongodb/mongodb-2.6.1-r1.ebuild
index 6d8c75fb6ed6..dd9bb47da148 100644
--- a/dev-db/mongodb/mongodb-2.6.1.ebuild
+++ b/dev-db/mongodb/mongodb-2.6.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-2.6.1.ebuild,v 1.1 2014/05/14 09:16:49 ultrabug Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/mongodb-2.6.1-r1.ebuild,v 1.1 2014/05/26 08:03:45 ultrabug Exp $
EAPI=5
SCONS_MIN_VERSION="1.2.0"