CHips L MINI SHELL

CHips L pro

Current Path : /proc/2/cwd/proc/2/root/etc/rc.d/rc3.d/
Upload File :
Current File : //proc/2/cwd/proc/2/root/etc/rc.d/rc3.d/S34mailman

#!/bin/bash
#
# mailman  - System V init script for CentOS
# Parts of this file were taken from the CentOS 4.3
# /etc/init.d/mailman script which is under the GPL
#
# chkconfig: 2345 34 34
# description: mailman

# source function library
. /etc/rc.d/init.d/cpfunctions

NAME="mailman"
MAILMANHOME="/usr/local/cpanel/3rdparty/mailman"
PROG=$MAILMANHOME/bin/mailmanctl
PIDFILE="/var/run/$NAME.pid"

start()
{
    echo "Starting $NAME: "
    $PROG start
}

stop()
{
    echo "Shutting down $NAME: "
    $PROG stop
}

case "$1" in
  start)
       start
       ;;
  stop)
       stop
       ;;
  restart)
       stop
       start
       ;;
  status)
       status $PROG
       ;;
  *)
       echo "Usage: $NAME {start|stop|restart|status}"
esac


Copyright 2K16 - 2K18 Indonesian Hacker Rulez