#!/sbin/runscript # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/net-www/apache/files/2.0.40/apache2.initd,v 1.13 2003/10/31 07:17:45 rajiv Exp $ depend() { need net user logger dns } start() { ebegin "Starting MailScanner" /sbin/start-stop-daemon --quiet \ --start --startas /opt/MailScanner/bin/check_mailscanner \ --pidfile /var/run/MailScanner.pid eend $? } stop() { ebegin "Stopping MailScanner" start-stop-daemon -o --quiet --stop --pidfile /var/run/MailScanner.pid [ -f /var/run/MailScanner.pid ] && rm /var/run/MailScanner.pid eend $? }