INN commit: trunk/scripts (news.daily.in)
INN Commit
Russ_Allbery at isc.org
Tue Nov 18 11:01:47 UTC 2008
Date: Tuesday, November 18, 2008 @ 03:01:47
Author: iulius
Revision: 8173
When news.daily finishes, the news server might have a "reserved" status
in case expire was killed during its expiry. (The news server is put back
to running mode -- not left throttled.) This means that when news.daily
is run for the next day's cycle, no article expiration takes place.
Thanks to D. Stussy for having pointed that issue out.
Modified:
trunk/scripts/news.daily.in
---------------+
news.daily.in | 3 +++
1 file changed, 3 insertions(+)
Modified: news.daily.in
===================================================================
--- news.daily.in 2008-11-17 19:49:40 UTC (rev 8172)
+++ news.daily.in 2008-11-18 11:01:47 UTC (rev 8173)
@@ -385,6 +385,9 @@
${DORM} &&
find ${TEMPSOCKDIR} -name "${TEMPSOCK}" -mtime +2 -exec rm -f '{}' ';'
+## Remove the possible reserve mode (in case expire was killed).
+ctlinnd -s reserve "" 2>/dev/null
+
## Did we become throttled during the run?
SERVERMODE=`ctlinnd mode 2>/dev/null | ${SED} 1q`
case "${SERVERMODE}" in
More information about the inn-committers
mailing list