From 8fbd420dce8836e6503b162092e07b6a77a89f1d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 13 Oct 2017 21:03:07 +0100 Subject: gentoo resync : 13.10.2017 --- dev-db/mongodb/files/mongodb.confd-r3 | 11 +++++++++++ dev-db/mongodb/files/mongodb.initd-r3 | 18 ++++++++++++++++++ dev-db/mongodb/files/mongos.confd-r3 | 11 +++++++++++ dev-db/mongodb/files/mongos.initd-r3 | 18 ++++++++++++++++++ 4 files changed, 58 insertions(+) create mode 100644 dev-db/mongodb/files/mongodb.confd-r3 create mode 100644 dev-db/mongodb/files/mongodb.initd-r3 create mode 100644 dev-db/mongodb/files/mongos.confd-r3 create mode 100644 dev-db/mongodb/files/mongos.initd-r3 (limited to 'dev-db/mongodb/files') diff --git a/dev-db/mongodb/files/mongodb.confd-r3 b/dev-db/mongodb/files/mongodb.confd-r3 new file mode 100644 index 000000000000..e515d1ddc730 --- /dev/null +++ b/dev-db/mongodb/files/mongodb.confd-r3 @@ -0,0 +1,11 @@ +# !! IMPORTANT !! +# +# This file is ONLY used to override some of the init script configuration. +# +# You should NOT use this file to configure your mongodb instance, +# see the /etc/mongodb.conf file instead. +# +# Available init script modifiers : +# - config_file : the configuration file to use (default : /etc/mongodb.conf) +# - user : the user used to run your mongodb instance (default : mongodb) +# - group : the group used to run your mongodb instance (default : mongodb) diff --git a/dev-db/mongodb/files/mongodb.initd-r3 b/dev-db/mongodb/files/mongodb.initd-r3 new file mode 100644 index 000000000000..778ef7482406 --- /dev/null +++ b/dev-db/mongodb/files/mongodb.initd-r3 @@ -0,0 +1,18 @@ +#!/sbin/openrc-run +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +: ${config_file:="/etc/${RC_SVCNAME}.conf"} +: ${user:=mongodb} +: ${group:=mongodb} + +command="/usr/bin/mongod" +command_args="--config ${config_file}" +command_background="true" +pidfile="/run/${RC_SVCNAME}.pid" +command_user="${user}:${group}" +required_files="${config_file}" + +depend() { + use net +} diff --git a/dev-db/mongodb/files/mongos.confd-r3 b/dev-db/mongodb/files/mongos.confd-r3 new file mode 100644 index 000000000000..7f297dfd3e43 --- /dev/null +++ b/dev-db/mongodb/files/mongos.confd-r3 @@ -0,0 +1,11 @@ +# !! IMPORTANT !! +# +# This file is ONLY used to override some of the init script configuration. +# +# You should NOT use this file to configure your mongos instance, +# see the /etc/mongos.conf file instead. +# +# Available init script modifiers : +# - config_file : the configuration file to use (default : /etc/mongos.conf) +# - user : the user used to run your mongodb instance (default : mongodb) +# - group : the group used to run your mongodb instance (default : mongodb) diff --git a/dev-db/mongodb/files/mongos.initd-r3 b/dev-db/mongodb/files/mongos.initd-r3 new file mode 100644 index 000000000000..cf5844ae30a9 --- /dev/null +++ b/dev-db/mongodb/files/mongos.initd-r3 @@ -0,0 +1,18 @@ +#!/sbin/openrc-run +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +: ${config_file:="/etc/${RC_SVCNAME}.conf"} +: ${user:=mongodb} +: ${group:=mongodb} + +command="/usr/bin/mongos" +command_args="--config ${config_file}" +command_background="true" +pidfile="/run/${RC_SVCNAME}.pid" +command_user="${user}:${group}" +required_files="${config_file}" + +depend() { + use net +} -- cgit v1.2.3