From 1bb2648cde916ac27d3dd75d7b64a4ddc89787b7 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 10 Feb 2013 01:12:52 -0800 Subject: Sun Feb 10 01:12:35 PST 2013 --- community/mailman/mailman.rc | 29 ----------------------------- community/mailman/rc.mailman | 35 ----------------------------------- 2 files changed, 64 deletions(-) delete mode 100644 community/mailman/mailman.rc delete mode 100644 community/mailman/rc.mailman (limited to 'community/mailman') 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 -- cgit v1.2.3-54-g00ecf