aboutsummaryrefslogtreecommitdiff
path: root/mail/milter-greylist/files
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2005-06-30 11:55:19 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2005-06-30 11:55:19 +0000
commit5368811e5d3e4b930af3b700cb4dcb303df0e2b8 (patch)
treed24f884c1f1e5709f92e59c9c09679af08d4dc58 /mail/milter-greylist/files
parent4f7c53410571b07ffcd5286ff669ea3bb81ae51f (diff)
downloadports-5368811e5d3e4b930af3b700cb4dcb303df0e2b8.tar.gz
ports-5368811e5d3e4b930af3b700cb4dcb303df0e2b8.zip
Notes
Diffstat (limited to 'mail/milter-greylist/files')
-rw-r--r--mail/milter-greylist/files/milter-greylist.in14
-rw-r--r--mail/milter-greylist/files/milter-greylist.sh14
2 files changed, 16 insertions, 12 deletions
diff --git a/mail/milter-greylist/files/milter-greylist.in b/mail/milter-greylist/files/milter-greylist.in
index ef708559081f..15524546d05d 100644
--- a/mail/milter-greylist/files/milter-greylist.in
+++ b/mail/milter-greylist/files/milter-greylist.in
@@ -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"
diff --git a/mail/milter-greylist/files/milter-greylist.sh b/mail/milter-greylist/files/milter-greylist.sh
index ef708559081f..15524546d05d 100644
--- a/mail/milter-greylist/files/milter-greylist.sh
+++ b/mail/milter-greylist/files/milter-greylist.sh
@@ -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"