aboutsummaryrefslogtreecommitdiffstats
path: root/misc/mailman.in
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2013-11-16 14:35:58 -0800
committerMark Sapiro <mark@msapiro.net>2013-11-16 14:35:58 -0800
commitded18dda2b2f9ba00f8780b4eba6c398c5bff838 (patch)
treeee4334721e5bc2e7a83ef90b1750ea6d9b0b83dd /misc/mailman.in
parent9eab7c50e3a5413fdaf8d3bf6be22cf28ad3f09d (diff)
downloadmailman2-ded18dda2b2f9ba00f8780b4eba6c398c5bff838.tar.gz
mailman2-ded18dda2b2f9ba00f8780b4eba6c398c5bff838.tar.xz
mailman2-ded18dda2b2f9ba00f8780b4eba6c398c5bff838.zip
Added a reopen command to the sample init.d script in misc/mailman.in.
Diffstat (limited to 'misc/mailman.in')
-rw-r--r--misc/mailman.in9
1 files changed, 7 insertions, 2 deletions
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