diff options
Diffstat (limited to 'net-mail/zarafa/files/zarafa-monitor.rc6')
-rw-r--r-- | net-mail/zarafa/files/zarafa-monitor.rc6 | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/net-mail/zarafa/files/zarafa-monitor.rc6 b/net-mail/zarafa/files/zarafa-monitor.rc6 deleted file mode 100644 index 0b9b790..0000000 --- a/net-mail/zarafa/files/zarafa-monitor.rc6 +++ /dev/null @@ -1,30 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -MONITORCONFIG=/etc/zarafa/monitor.cfg -MONITORPROGRAM=/usr/bin/zarafa-monitor - -[ -x $MONITORPROGRAM ] || exit 0 - -MONITORCONFIG_OPT="" -[ ! -z $MONITORCONFIG -a -f $MONITORCONFIG ] && MONITORCONFIG_OPT="-c $MONITORCONFIG" - -PIDFILE=/var/run/"${SVCNAME}".pid - -start() { - ebegin "Starting ${SVCNAME}" - start-stop-daemon --start \ - --pidfile ${PIDFILE} \ - --exec ${MONITORPROGRAM} -- ${MONITORCONFIG_OPT} - eend $? -} - -stop() { - ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop \ - --pidfile ${PIDFILE} \ - --exec ${MONITORPROGRAM} -- ${MONITORCONFIG_OPT} - eend $? -} |