+++ /dev/null
-#!/bin/sh
-
-# mailman
-
-# Source functions library
-source /etc/rc.d/init.d/functions
-
-log_script_name "$0 $*"
-
-PYTHON=/usr/bin/python
-MAILMANHOME=/usr/lib/mailman
-MAILMANCTL=${MAILMANHOME}/bin/mailmanctl
-
-case "$1" in
- start)
- # rm -f $MAILMANHOME/locks/*
- cmd_run_log_box "Starting Mailman daemon" ${PYTHON} ${MAILMANCTL} -s -q start
- ;;
-
- stop)
- cmd_run_log_box "Stopping Mailman daemon" ${PYTHON} ${MAILMANCTL} -q stop
- ;;
-
- restart)
- ${PYTHON} ${MAILMANCTL} -q restart
- ;;
-
- status)
- statusproc mailman
- ;;
-
- *)
- echo "Usage: $0 {start|stop|restart|status}"
- exit ${EXIT_CODE_FAILURE}
- ;;
-esac
-
-exit $?