baaf9ffd06
antivirus and adds clamd support. * Use the bz2 patch for exiscan-acl. * Add a CVS Id tag to exim.sh Add a reload command to exim.sh. Bump PORTREVISION accordingly. Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com>
31 lines
609 B
Bash
31 lines
609 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
# Note that 'pidfile' may need to be changed if 'args' is altered; see
|
|
# the description of the 'pid_file_path' Exim configuration option in
|
|
# the Exim Specification.
|
|
#
|
|
args='-bd -q30m'
|
|
pidfile='/var/run/exim.pid'
|
|
|
|
case "$1" in
|
|
start)
|
|
[ -x /usr/local/sbin/exim ] && /usr/local/sbin/exim ${args} && \
|
|
echo -n ' exim'
|
|
;;
|
|
stop)
|
|
kill `cat ${pidfile}` && echo -n ' exim'
|
|
;;
|
|
reload)
|
|
kill -HUP `cat ${pidfile}` && echo -n ' exim'
|
|
;;
|
|
*)
|
|
echo "Usage: `basename $0` {start|stop|reload}" >&2
|
|
exit 64
|
|
;;
|
|
esac
|
|
|
|
exit 0
|
|
|