MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.216.42.122
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/libexec/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/libexec/exim.daemon
#! /bin/sh

RETVAL=0
case "$1" in
	start)
		# start daemons
		PERL_AT_STARTUP=""
		if [ ! -e "/var/cpanel/conserve_memory" ]; then
			PERL_AT_STARTUP="-ps"
		fi
		if [ -f /etc/exim_outgoing.conf ]; then
			/usr/sbin/exim $PERL_AT_STARTUP -bd -oP ${LISTENER_PID_FILE}
			/usr/sbin/exim -C /etc/exim_outgoing.conf -q$QUEUE -oP ${OUTGOING_PID_FILE}
		else
			/usr/sbin/exim $PERL_AT_STARTUP -bd -q$QUEUE -oP ${LISTENER_PID_FILE}
		fi
		;;
	reload)
		# reload daemons
		if [ -f /etc/exim_outgoing.conf ]; then
			/bin/kill -HUP $(cat ${OUTGOING_PID_FILE})
			RETVAL=$?
		fi
		/bin/kill -HUP $(cat ${LISTENER_PID_FILE})
		if [ "x$?" != "x0" ]; then
			RETVAL=$?
		fi
	;;
  *)
    echo "Usage: exim {start|reload} [should be called by systemd]"
esac

exit $RETVAL

MMCT - 2023