blob: 962a94a144c52313e3add615ba014c5fda801d3f (
plain)
1 #!/bin/sh
2 #
3 # /etc/rc.d/mailman: start/stop mailman daemon
4 #
5
6 PYTHON=/usr/bin/python
7 MAILMANHOME=/usr/lib/mailman
8 MAILMANCTL=$MAILMANHOME/bin/mailmanctl
9
10 case $1 in
11 start)
12 $PYTHON $MAILMANCTL -s -q start
13 ;;
14 stop)
15 $PYTHON $MAILMANCTL -q stop
16 ;;
17 restart)
18 $PYTHON $MAILMANCTL -q restart
19 ;;
20 *)
21 echo "usage: $0 [start|stop|restart]"
22 ;;
23 esac
24
25 # End of file
|