3 # mailman This shell script starts and stops GNU Mailman.
5 # Copyright (C) 2001-2007 by the Free Software Foundation, Inc.
7 # This program is free software; you can redistribute it and/or
8 # modify it under the terms of the GNU General Public License
9 # as published by the Free Software Foundation; either version 2
10 # of the License, or (at your option) any later version.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 # Copy this file to /etc/init.d/ (or /etc/rc.d/init.d/ depending on
22 # your system) and activate it as such:
24 # On Debian, type "update-rc.d mailman defaults"
25 # On RedHat, and derivatives, install with "chkconfig --add mailman"
27 # chkconfig: 2345 98 12
28 # description: Mailman is the GNU Mailing List Manager, a program that \
29 # manages electronic mail discussion groups. For more \
30 # on GNU Mailman see http://www.list.org
31 # processname: mailmanctl
32 # config: @prefix@/Mailman/mm_cfg.py
33 # pidfile: @prefix@/data/master-qrunner.pid
37 MAILMANCTL
=$MAILMANHOME/bin
/mailmanctl
41 #rm -f $MAILMANHOME/locks/*
42 $PYTHON $MAILMANCTL -s -q start
46 $PYTHON $MAILMANCTL -q stop
50 $PYTHON $MAILMANCTL -q restart