1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

- Fix rcNG script.

PR:		ports/82259
Submitted by:	Andrew McNaughton <andrew@scoop.co.nz>
Approved by:	maintainer
This commit is contained in:
Florent Thoumie 2005-06-30 11:55:19 +00:00
parent 4f7c534105
commit 5368811e5d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138233
3 changed files with 17 additions and 13 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= milter-greylist
PORTVERSION= 1.6
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= ftp://ftp.espci.fr/pub/milter-greylist/
EXTRACT_SUFX= .tgz

View File

@ -13,6 +13,14 @@
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
. %%RC_SUBR%%
name="miltergreylist"
rcvar=`set_rcvar`
load_rc_config $name
miltergreylist_enable=${miltergreylist_enable-"NO"}
miltergreylist_runas=${miltergreylist_runas-"smmsp"}
miltergreylist_pidfile=${miltergreylist_pidfile-"/var/run/milter-greylist.pid"}
@ -21,12 +29,6 @@ miltergreylist_cfgfile=${miltergreylist_cfgfile-"%%PREFIX%%/etc/mail/greylist.co
miltergreylist_flags=${miltergreylist_flags-"-P $miltergreylist_pidfile \
-f $miltergreylist_cfgfile -p $miltergreylist_sockfile -u $miltergreylist_runas"}
. %%RC_SUBR%%
name="miltergreylist"
rcvar=`set_rcvar`
command="%%PREFIX%%/bin/milter-greylist"
load_rc_config $name
run_rc_command "$1"

View File

@ -13,6 +13,14 @@
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
. %%RC_SUBR%%
name="miltergreylist"
rcvar=`set_rcvar`
load_rc_config $name
miltergreylist_enable=${miltergreylist_enable-"NO"}
miltergreylist_runas=${miltergreylist_runas-"smmsp"}
miltergreylist_pidfile=${miltergreylist_pidfile-"/var/run/milter-greylist.pid"}
@ -21,12 +29,6 @@ miltergreylist_cfgfile=${miltergreylist_cfgfile-"%%PREFIX%%/etc/mail/greylist.co
miltergreylist_flags=${miltergreylist_flags-"-P $miltergreylist_pidfile \
-f $miltergreylist_cfgfile -p $miltergreylist_sockfile -u $miltergreylist_runas"}
. %%RC_SUBR%%
name="miltergreylist"
rcvar=`set_rcvar`
command="%%PREFIX%%/bin/milter-greylist"
load_rc_config $name
run_rc_command "$1"