diff options
author | Mark Sapiro <mark@msapiro.net> | 2013-11-16 14:35:58 -0800 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2013-11-16 14:35:58 -0800 |
commit | ded18dda2b2f9ba00f8780b4eba6c398c5bff838 (patch) | |
tree | ee4334721e5bc2e7a83ef90b1750ea6d9b0b83dd /misc | |
parent | 9eab7c50e3a5413fdaf8d3bf6be22cf28ad3f09d (diff) | |
download | mailman2-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')
-rw-r--r-- | misc/mailman.in | 9 |
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 |