Use md-mx-ctrl(8) in rc_reload(); it's made exactly for this.

ok okan@ (maintainer)
This commit is contained in:
ajacoutot 2012-12-09 07:35:48 +00:00
parent 930f42af09
commit d508c05090
2 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.29 2012/12/05 18:51:56 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.30 2012/12/09 07:35:48 ajacoutot Exp $
COMMENT= mailfilter to identify and mark spam
DISTNAME= mimedefang-2.73
REVISION= 6
REVISION= 7
CATEGORIES= mail
HOMEPAGE= http://www.mimedefang.org/

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $OpenBSD: mimedefang_multiplexor.rc,v 1.8 2012/10/25 14:03:47 ajacoutot Exp $
# $OpenBSD: mimedefang_multiplexor.rc,v 1.9 2012/12/09 07:35:48 ajacoutot Exp $
daemon="${TRUEPREFIX}/bin/mimedefang-multiplexor"
daemon_flags="-G -U _mdefang -E -l -m 2 -x 10 -b 600 -p /var/spool/MIMEDefang/mimedefang-multiplexor.pid"
@ -8,7 +8,7 @@ daemon_flags="-G -U _mdefang -E -l -m 2 -x 10 -b 600 -p /var/spool/MIMEDefang/mi
. /etc/rc.d/rc.subr
rc_reload() {
pkill -INT -f "^${pexp}"
${TRUEPREFIX}/bin/md-mx-ctrl reread
}
rc_cmd $1