diff options
| author | bwarsaw | 2001-08-17 23:12:08 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-08-17 23:12:08 +0000 |
| commit | a076197f5136254745cd30a3af62523b6fbd95d6 (patch) | |
| tree | a979734a0102180fabdaed98eac8dccd455d3650 | |
| parent | 746f4ea0f3e3e8c5a472e8ffc4ec88bccd64189b (diff) | |
| download | mailman-a076197f5136254745cd30a3af62523b6fbd95d6.tar.gz mailman-a076197f5136254745cd30a3af62523b6fbd95d6.tar.zst mailman-a076197f5136254745cd30a3af62523b6fbd95d6.zip | |
Renamed from S98mailman.in
| -rw-r--r-- | misc/mailman.in | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/misc/mailman.in b/misc/mailman.in new file mode 100644 index 000000000..f941e075a --- /dev/null +++ b/misc/mailman.in @@ -0,0 +1,48 @@ +#!/bin/sh +# +# mailman This shell script that starts and stops GNU Mailman. +# +# Copyright (C) 2001 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 +# as published by the Free Software Foundation; either version 2 +# of the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +# chkconfig: 2345 98 12 +# description: Mailman is the GNU Mailing List Manager, a program that \ +# manages electronic mail discussion groups. For more \ +# on GNU Mailman see http://www.list.org +# processname: mailmanctl +# config: @prefix@/Mailman/mm_cfg.py +# pidfile: @prefix@/data/qrunner.pid + +PYTHON=@PYTHON@ +MAILMANHOME=@prefix@ +MAILMANCTL=$MAILMANHOME/bin/mailmanctl + +case "$1" in +'start') + #rm -f $MAILMANHOME/locks/* + $PYTHON $MAILMANCTL -s -q start + ;; + +'stop') + $PYTHON $MAILMANCTL -q stop + ;; + +'restart') + $PYTHON $MAIMLANCTL -q restart + ;; + +esac +exit 0 |
