diff options
| author | Ultrabug <ultrabug@gentoo.org> | 2015-12-31 15:07:02 +0100 |
|---|---|---|
| committer | Ultrabug <ultrabug@gentoo.org> | 2016-01-03 13:26:50 +0100 |
| commit | 28a3f51f40f5252ce059ef182b3dd4cf516cfd77 (patch) | |
| tree | 6888cb8e40f6da242b487bd3bfbee4c4abbc5b5a /dev-db/mongodb/files/mongodb.initd-r1 | |
| parent | 2ed174f375c9f52ee5e78e2836ef346f792eb107 (diff) | |
| download | gentoo-28a3f51f40f5252ce059ef182b3dd4cf516cfd77.tar.gz gentoo-28a3f51f40f5252ce059ef182b3dd4cf516cfd77.tar.bz2 gentoo-28a3f51f40f5252ce059ef182b3dd4cf516cfd77.zip | |
dev-db/mongodb: drop 2.4 series after bumping mongochem deps
Package-Manager: portage-2.2.25
Diffstat (limited to 'dev-db/mongodb/files/mongodb.initd-r1')
| -rw-r--r-- | dev-db/mongodb/files/mongodb.initd-r1 | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/dev-db/mongodb/files/mongodb.initd-r1 b/dev-db/mongodb/files/mongodb.initd-r1 deleted file mode 100644 index f52cca2fd408..000000000000 --- a/dev-db/mongodb/files/mongodb.initd-r1 +++ /dev/null @@ -1,40 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -depend() { - use net -} - -start() { - checkpath -d -m 0750 -o "${MONGODB_USER}":mongodb "${MONGODB_RUN}" - - # Listen to MONGODB_IP if configured - [ -z "${MONGODB_IP}" ] || MONGODB_OPTIONS="--bind_ip ${MONGODB_IP} ${MONGODB_OPTIONS}" - - # Baselayout-1 user should use --chuid instead of --user - local USEROPT="--user" - if [ ! -f /etc/init.d/sysfs ]; then - USEROPT="--chuid" - fi - - ebegin "Starting ${SVCNAME}" - start-stop-daemon --background --start --make-pidfile \ - --pidfile ${MONGODB_RUN:-/var/run/mongodb}/${SVCNAME}.pid \ - ${USEROPT} ${MONGODB_USER:-mongodb} \ - --exec ${MONGODB_EXEC:-/usr/bin/mongod} \ - -- \ - --port ${MONGODB_PORT:-27017} \ - --dbpath ${MONGODB_DATA:-/var/lib/mongodb} \ - --unixSocketPrefix ${MONGODB_RUN:-/var/run/mongodb} \ - --logappend --logpath /var/log/mongodb/${SVCNAME}.log \ - ${MONGODB_OPTIONS} - eend $? -} - -stop() { - ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop --pidfile ${MONGODB_RUN:-/var/run/mongodb}/${SVCNAME}.pid - eend $? -} |
