aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-01-25 19:41:46 +0800
committergarga <garga@FreeBSD.org>2006-01-25 19:41:46 +0800
commit0716bf0e65efab6462c1f6f7fe4759924181bc6b (patch)
treee3042bcab9d75c1b0919cbc2a0185ef73583e563
parentdc8b034d21b35fac9a03bbe4ce1f4fa1ebd01efc (diff)
downloadfreebsd-ports-gnome-0716bf0e65efab6462c1f6f7fe4759924181bc6b.tar.gz
freebsd-ports-gnome-0716bf0e65efab6462c1f6f7fe4759924181bc6b.tar.zst
freebsd-ports-gnome-0716bf0e65efab6462c1f6f7fe4759924181bc6b.zip
- Fix rc.d scripts
- Bump PORTREVISION PR: ports/92302 Submitted by: maintainer
-rw-r--r--mail/dkfilter/Makefile2
-rw-r--r--mail/dkfilter/files/dkfilter_in.sh.in5
-rw-r--r--mail/dkfilter/files/dkfilter_out.sh.in5
3 files changed, 7 insertions, 5 deletions
diff --git a/mail/dkfilter/Makefile b/mail/dkfilter/Makefile
index 241b88bb300f..6732930d62a2 100644
--- a/mail/dkfilter/Makefile
+++ b/mail/dkfilter/Makefile
@@ -7,7 +7,7 @@
PORTNAME= dkfilter
PORTVERSION= 0.8
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= http://jason.long.name/dkfilter/
DISTNAME= ${PORTNAME}
diff --git a/mail/dkfilter/files/dkfilter_in.sh.in b/mail/dkfilter/files/dkfilter_in.sh.in
index fb947977e123..7d1dcb34440f 100644
--- a/mail/dkfilter/files/dkfilter_in.sh.in
+++ b/mail/dkfilter/files/dkfilter_in.sh.in
@@ -23,7 +23,7 @@ rcvar=`set_rcvar`
dkfilter_in_enable=${dkfilter_in_enable:-"NO"}
dkfilter_in_flags=${dkfilter_in_flags:-"127.0.0.1:10025 127.0.0.1:10026"}
dkfilter_in_pidfile=${dkfilter_in_pidfile:-"/var/run/dkfilter_in.pid"}
-dkfilter_in_user=${dkfilter_user:-"dkfilter"}
+dkfilter_in_user=${dkfilter_in_user:-"dkfilter"}
start_cmd="dkfilter_in_start"
stop_cmd="dkfilter_in_stop"
@@ -37,7 +37,8 @@ dkfilter_in_start()
touch ${dkfilter_in_pidfile}
chown ${dkfilter_in_user} ${dkfilter_in_pidfile}
su -m ${dkfilter_in_user} -c "daemon -p ${dkfilter_in_pidfile} \
- %%PREFIX%%/bin/dkfilter.in ${dkfilter_in_flags}"
+ %%PREFIX%%/bin/dkfilter.in ${dkfilter_in_flags}" \
+ > /dev/null 2>&1
echo "Starting ${name}"
}
diff --git a/mail/dkfilter/files/dkfilter_out.sh.in b/mail/dkfilter/files/dkfilter_out.sh.in
index 349c6be559a3..78d3c7f402c4 100644
--- a/mail/dkfilter/files/dkfilter_out.sh.in
+++ b/mail/dkfilter/files/dkfilter_out.sh.in
@@ -29,7 +29,7 @@ dkfilter_out_flags=${dkfilter_out_flags:-" --header \
--selector=selector1 --domain=example.org --method=nofws \
127.0.0.1:10027 127.0.0.1:10028"}
dkfilter_out_pidfile=${dkfilter_out_pidfile:-"/var/run/dkfilter_out.pid"}
-dkfilter_out_user=${dkfilter_user:-"dkfilter"}
+dkfilter_out_user=${dkfilter_out_user:-"dkfilter"}
start_cmd="dkfilter_out_start"
stop_cmd="dkfilter_out_stop"
@@ -43,7 +43,8 @@ dkfilter_out_start()
touch ${dkfilter_out_pidfile}
chown ${dkfilter_out_user} ${dkfilter_out_pidfile}
su -m ${dkfilter_out_user} -c "daemon -p ${dkfilter_out_pidfile} \
- %%PREFIX%%/bin/dkfilter.out ${dkfilter_out_flags}"
+ %%PREFIX%%/bin/dkfilter.out ${dkfilter_out_flags}" \
+ > /dev/null 2>&1
echo "Starting ${name}."
}