diff options
Diffstat (limited to 'community/mailman')
-rw-r--r-- | community/mailman/mailman.rc | 29 | ||||
-rw-r--r-- | community/mailman/rc.mailman | 35 |
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 |