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. --- misc/mailman.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'misc') 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