diff options
Diffstat (limited to 'dev-db/mongodb/files/mms-agent.initd-r1')
-rw-r--r-- | dev-db/mongodb/files/mms-agent.initd-r1 | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/dev-db/mongodb/files/mms-agent.initd-r1 b/dev-db/mongodb/files/mms-agent.initd-r1 deleted file mode 100644 index 91002b578d94..000000000000 --- a/dev-db/mongodb/files/mms-agent.initd-r1 +++ /dev/null @@ -1,31 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -ROOTDIR=/opt/mms-agent -PIDFILE=/var/run/mm-agent.pid -EXEC="/usr/bin/env python agent.py" -LOGFILE=/var/log/mongodb/mms-agent.log - -depend() { - need net - use syslog -} - -start() { - ebegin "Starting ${SVCNAME}" - - checkpath -d -m 0755 -o root:root /var/run/ - - start-stop-daemon --start --chdir ${ROOTDIR} --exec ${EXEC} \ - --pidfile "${PIDFILE}" --make-pidfile --background \ - --user mongodb:mongodb --stdout ${LOGFILE} --stderr ${LOGFILE} - eend $? -} - -stop() { - ebegin "Requesting ${SVCNAME} to stop" - start-stop-daemon --stop --pidfile "${PIDFILE}" - eend $? -} |