From ded18dda2b2f9ba00f8780b4eba6c398c5bff838 Mon Sep 17 00:00:00 2001 From: Mark Sapiro Date: Sat, 16 Nov 2013 14:35:58 -0800 Subject: Added a reopen command to the sample init.d script in misc/mailman.in. --- NEWS | 3 +++ misc/mailman.in | 9 +++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index a34d428e..2b23931a 100755 --- a/NEWS +++ b/NEWS @@ -24,6 +24,9 @@ Here is a history of user visible changes to Mailman. Bug Fixes and other patches + - Added a reopen command to the sample init.d script in misc/mailman.in. + (LP: #1251917) + - Fixed a misspelling in Tagger.py causing an "unexpected keyword argument 'Delete'" exception. (LP: #1251495) diff --git a/misc/mailman.in b/misc/mailman.in index 2f5fbc7a..126a0cd5 100644 --- a/misc/mailman.in +++ b/misc/mailman.in @@ -2,7 +2,7 @@ # # mailman This shell script starts and stops GNU Mailman. # -# Copyright (C) 2001-2003 by the Free Software Foundation, Inc. +# Copyright (C) 2001-2013 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -16,7 +16,8 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, +# USA. # # Copy this file to /etc/init.d/ (or /etc/rc.d/init.d/ depending on # your system) and activate it as such: @@ -50,5 +51,9 @@ case "$1" in $PYTHON $MAILMANCTL -q restart ;; +'reopen') + $PYTHON $MAILMANCTL -q reopen + ;; + esac exit 0 -- cgit v1.2.3