On 2013-08-13 16:32, Paul J Stevens wrote:
On 08/13/2013 01:40 PM, Reindl Harald wrote:
the question was: in that case can the handlers re-read dbmail.conf
and adjust changed timeout-params at least for new connections
timeout and login_timeout are no problem.
when you do get around to merge that to 3.1 branch here's an addition to
the
gentoo init script (basically the same as the stop function but with
signal HUP and without the retry ;):
-- it should work, but i don't have a dbmail server with the log-reload
to test it properly.
reloadfoo() {
PROGRAM=$1
ebegin "Reloading DBMail daemon ($PROGRAM)"
start-stop-daemon --quiet --signal HUP \
--pidfile $PID_DIR/$PROGRAM.$PID
eend $?
}
reload() {
initService
for i in $DAEMONS; do
THISDAEMON=`echo $i | awk '{print toupper($1)}'`;
if [ -n ${DAEMON[$THISDAEMON]} ]; then
# echo $THISDAEMON is ${DAEMON[$THISDAEMON]};
reloadfoo ${DAEMON[$THISDAEMON]};
fi
done
eend $?
}
Regards
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail