- cd $(DIR_APP) && install -v -d -m755 /etc/xinetd.d
- echo "# Begin /etc/xinetd" > /etc/xinetd.conf
- echo "# Configuration file for xinetd" >> /etc/xinetd.conf
- echo "#" >> /etc/xinetd.conf
- echo "defaults" >> /etc/xinetd.conf
- echo "{" >> /etc/xinetd.conf
- echo " instances = 60" >> /etc/xinetd.conf
- echo " log_type = SYSLOG daemon" >> /etc/xinetd.conf
- echo " log_on_success = HOST PID USERID" >> /etc/xinetd.conf
- echo " log_on_failure = HOST USERID" >> /etc/xinetd.conf
- echo " cps = 25 30" >> /etc/xinetd.conf
- echo "}" >> /etc/xinetd.conf
- echo "# All service files are stored in the /etc/xinetd.d directory" >> /etc/xinetd.conf
- echo "#" >> /etc/xinetd.conf
- echo "includedir /etc/xinetd.d" >> /etc/xinetd.conf
- echo "# End /etc/xinetd" >> /etc/xinetd.conf