File: rc-bsd.sh.in

package info (click to toggle)
milter-greylist 3.0-3.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 920 kB
  • ctags: 787
  • sloc: ansic: 6,864; sh: 3,205; yacc: 736; lex: 321; makefile: 166
file content (18 lines) | stat: -rw-r--r-- 379 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
# $Id: rc-bsd.sh.in,v 1.2 2004/07/29 06:53:02 manu Exp $

# PROVIDE: miltergreylist
# REQUIRE: LOGIN
# BEFORE: sendmail

. /etc/rc.subr

name="miltergreylist"
rcvar=$name
command="@BINDIR@/milter-greylist"
pidfile="/var/run/milter-greylist.pid"
command_args="-P ${pidfile} -u @USER@"
required_files="/etc/mail/greylist.conf"

load_rc_config ${name}
run_rc_command "$1"