diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-03-11 16:04:34 -0600 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2019-04-03 08:49:55 +0000 |
commit | 8a901de31fa055ed591d487e12f8bb9ffcc0df21 (patch) | |
tree | 10bc98c626703819e94ec25bf0c2eaa0f6fe2cc9 /community/mongodb/mongodb.initd | |
parent | fffa6ab6963a4a0045f99432ac487957791685ea (diff) | |
download | aports-8a901de31fa055ed591d487e12f8bb9ffcc0df21.tar.bz2 aports-8a901de31fa055ed591d487e12f8bb9ffcc0df21.tar.xz |
community/mongodb: expunge nonfree software
Upstream has switched to a nonfree license.
Diffstat (limited to 'community/mongodb/mongodb.initd')
-rw-r--r-- | community/mongodb/mongodb.initd | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/community/mongodb/mongodb.initd b/community/mongodb/mongodb.initd deleted file mode 100644 index fede8f683c..0000000000 --- a/community/mongodb/mongodb.initd +++ /dev/null @@ -1,41 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mongodb.initd,v 1.5 2013/01/18 11:19:27 ultrabug Exp $ - -depend() { - need net - after firewall -} - -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 $? -} |