summaryrefslogtreecommitdiff
path: root/community/mailman
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-02-10 01:12:52 -0800
committerroot <root@rshg054.dnsready.net>2013-02-10 01:12:52 -0800
commit1bb2648cde916ac27d3dd75d7b64a4ddc89787b7 (patch)
tree016bfa1969323404c37dbef29cfc7242a5a8e9f3 /community/mailman
parente9c244cac8e5dc1c59c7e8b7bc885fef04224b70 (diff)
Sun Feb 10 01:12:35 PST 2013
Diffstat (limited to 'community/mailman')
-rw-r--r--community/mailman/mailman.rc29
-rw-r--r--community/mailman/rc.mailman35
2 files changed, 0 insertions, 64 deletions
diff --git a/community/mailman/mailman.rc b/community/mailman/mailman.rc
deleted file mode 100644
index 79c1cd661..000000000
--- a/community/mailman/mailman.rc
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-MAILMANCTL=/usr/lib/mailman/bin/mailmanctl
-
-case "$1" in
- start)
- status 'Starting GNU Mailing List Manager' $MAILMANCTL -q start &&
- add_daemon ${0##*/} || exit 1
- ;;
- stop)
- status 'Stoping GNU Mailing List Manager' $MAILMANCTL -q stop &&
- rm_daemon ${0##*/} || exit 1
- ;;
- reload)
- status 'Reloading GNU Mailing List Manager' $MAILMANCTL -q restart
- ;;
- restart)
- $0 stop && $0 start
- ;;
- *)
- echo "usage: ${0##*/} {start|stop|restart|reload}" >&2
- ;;
-esac
-
-:
-# vim:set ts=2 sw=2 ft=sh et:
diff --git a/community/mailman/rc.mailman b/community/mailman/rc.mailman
deleted file mode 100644
index 07660e530..000000000
--- a/community/mailman/rc.mailman
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-
-# general config
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy "Starting mailman Daemon"
- /usr/lib/mailman/bin/mailmanctl start &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon mailman
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping mailman Daemon"
- /usr/lib/mailman/bin/mailmanctl stop &>/dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon mailman
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac