#!/bin/sh
# $FreeBSD: ports/mail/nullmailer/files/nullmail.sh,v 1.7 2006/02/20 20:47:13 dougb Exp $
#
# PROVIDE: nullmailer
# REQUIRE: DAEMON
#
# Add the following line to /etc/rc.conf to enable nullmailer:
#
# nullmailer_enable="YES"
#
. /etc/rc.subr
name=nullmailer
rcvar=`set_rcvar`
nullmailer_user=nullmail
command=/usr/local/sbin/nullmailer-send
command_args=" 2>&1 | /usr/bin/logger -i -p local5.info -t nullmail &"
load_rc_config $name
run_rc_command "$1"
syntax highlighted by Code2HTML, v. 0.9.1