X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fbootscripts%2Fmailman;fp=stage5%2Fbootscripts%2Fmailman;h=0000000000000000000000000000000000000000;hb=4a38ddab8f1bc13cc13dbf15bb36454dffa8c1cb;hp=89aa0fcd0c274006a33b969577ce230681ae9e68;hpb=56e6ade2828debbb8210ffba1faa2193cb78d05c;p=hvlinux.git diff --git a/stage5/bootscripts/mailman b/stage5/bootscripts/mailman deleted file mode 100755 index 89aa0fc..0000000 --- a/stage5/bootscripts/mailman +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh - -# mailman - -# Source functions library -source /etc/rc.d/init.d/functions - -log_script_name "$0 $*" - -PYTHON=/usr/bin/python -MAILMANHOME=/usr/lib/mailman -MAILMANCTL=${MAILMANHOME}/bin/mailmanctl - -case "$1" in - start) - # rm -f $MAILMANHOME/locks/* - cmd_run_log_box "Starting Mailman daemon" ${PYTHON} ${MAILMANCTL} -s -q start - ;; - - stop) - cmd_run_log_box "Stopping Mailman daemon" ${PYTHON} ${MAILMANCTL} -q stop - ;; - - restart) - ${PYTHON} ${MAILMANCTL} -q restart - ;; - - status) - statusproc mailman - ;; - - *) - echo "Usage: $0 {start|stop|restart|status}" - exit ${EXIT_CODE_FAILURE} - ;; -esac - -exit $?