pkgsrc/mail/sqlgrey/files/sqlgrey.sh
ghen 2dc3f515fa Import sqlgrey-1.6.8 package as requested by Petr Janda on pkgsrc-users list.
SQLgrey is a postfix policy service implementing a greylisting policy.  It is
written in Perl and uses DBI to access an SQL database.  Its goal is reducing
the SPAM reaching user mailboxes.
2007-11-13 16:43:04 +00:00

19 lines
351 B
Bash

#!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: sqlgrey.sh,v 1.1.1.1 2007/11/13 16:43:04 ghen Exp $
#
# PROVIDE: sqlgrey
# REQUIRE: DAEMON
# BEFORE: mail
. /etc/rc.subr
name="sqlgrey"
rcvar=${name}
command="@PREFIX@/sbin/${name}"
required_files="@PKG_SYSCONFDIR@/${name}.conf"
command_args="-d"
stop_cmd="${command} -k"
load_rc_config $name
run_rc_command "$1"