freebsd-ports/mail/exim/files/exim.sh
Sheldon Hearn baaf9ffd06 * Update to exiscan-acl patch 08, which fixes wrong defaults for sophie
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>
2003-06-02 13:17:43 +00:00

30 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