3 # $FreeBSD: head/japanese/mailman/files/mailman.in 360783 2014-07-05 17:42:23Z tota $
9 # Add the following lines to /etc/rc.conf to enable mailman:
10 # mailman_enable (bool): Set it to "YES" to enable mailman.
18 pidfile="%%MAILMANDIR%%/data/master-qrunner.pid"
22 : ${mailman_enable="NO"}
24 start_cmd=${name}_start
26 status_cmd=${name}_status
27 extra_commands="reload status"
30 %%MAILMANDIR%%/bin/mailmanctl -s -q start
35 && %%MAILMANDIR%%/bin/mailmanctl -q stop \
36 || echo ${name} not running? \(check ${pidfile}\)
41 if [ -f $pidfile ] && ps -p $(cat $pidfile) > /dev/null; then
42 echo $name is running as pid $(cat $pidfile).
44 echo $name is not running.