diff options
author | Ultrabug <ultrabug@gentoo.org> | 2018-11-05 13:28:51 +0100 |
---|---|---|
committer | Ultrabug <ultrabug@gentoo.org> | 2018-11-05 13:28:51 +0100 |
commit | 2e37e0428f4f0d6939245dfcf020952efa26797c (patch) | |
tree | 697bcb08f20fe7e409189b1c81dc94c00495a3c1 /dev-db/mongodb/files/mongodb.initd-r2 | |
parent | 58245ef9cd1b96d9ce0383217b7b0ae3ea140365 (diff) | |
download | gentoo-2e37e0428f4f0d6939245dfcf020952efa26797c.tar.gz gentoo-2e37e0428f4f0d6939245dfcf020952efa26797c.tar.xz |
dev-db/mongodb: obsolete ebuilds and files clean up
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Diffstat (limited to 'dev-db/mongodb/files/mongodb.initd-r2')
-rw-r--r-- | dev-db/mongodb/files/mongodb.initd-r2 | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/dev-db/mongodb/files/mongodb.initd-r2 b/dev-db/mongodb/files/mongodb.initd-r2 deleted file mode 100644 index 27b9f2a4387..00000000000 --- a/dev-db/mongodb/files/mongodb.initd-r2 +++ /dev/null @@ -1,26 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -config_file=${config_file:-/etc/${SVCNAME}.conf} -run_dir=${run_dir:-/run/mongodb} - -command="/usr/bin/mongod" -command_args="--config ${config_file}" -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 -} - -start_pre() { - checkpath -d -m 0750 -o "${user}":"${group}" "${run_dir}" - if [ ! -f ${config_file} ]; then - eerror "Missing configuration file ${config_file}" - return 1 - fi -} |