File: rc-bsd.sh.in

package info (click to toggle)
milter-greylist 4.6.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,876 kB
  • sloc: ansic: 16,965; yacc: 2,204; lex: 590; sh: 538; makefile: 158
file content (18 lines) | stat: -rw-r--r-- 375 bytes parent folder | download | duplicates (6)
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.3 2006/12/08 05:03:54 manu Exp $

# PROVIDE: miltergreylist
# REQUIRE: LOGIN
# BEFORE: mail

. /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"