#!/bin/bash # Copyright (c) 2005-2022: # Darren 'Tadgy' Austin # Licensed under the terms of the GNU General Public License version 3. # Start the MCE daemon. [[ -x /etc/rc.d/rc.mcelog ]] && /etc/rc.d/rc.mcelog start # Start the Open VM Tools daemon. [[ -x /etc/rc.d/rc.vmtoolsd ]] && /etc/rc.d/rc.vmtoolsd start # Start the vnstat daemon. [[ -x /etc/rc.d/rc.vnstatd ]] && /etc/rc.d/rc.vnstatd start # Start fail2ban. [[ -x /etc/rc.d/rc.fail2ban ]] && /etc/rc.d/rc.fail2ban start # Start netdata. [[ -x /etc/rc.d/rc.netdata ]] && /etc/rc.d/rc.netdata start # Start the php-fpm FastCGI daemon. [[ -x /etc/rc.d/rc.php-fpm ]] && /etc/rc.d/rc.php-fpm start # Start SpamAssassin. [[ -x /etc/rc.d/rc.spamd ]] && /etc/rc.d/rc.spamd start # Start greylistd. [[ -x /etc/rc.d/rc.greylistd ]] && /etc/rc.d/rc.greylistd start # Start Exim. [[ -x /etc/rc.d/rc.exim ]] && /etc/rc.d/rc.exim start # Start proftpd. [[ -x /etc/rc.d/rc.proftpd ]] && /etc/rc.d/rc.proftpd start # Start the rsync daemon. [[ -x /etc/rc.d/rc.rsyncd ]] && /etc/rc.d/rc.rsyncd start # Start the bandwidth bar generator. [ -x /etc/rc.d/rc.bwbar ] && /etc/rc.d/rc.bwbar start # Start seeding the torrents. [[ -x /etc/rc.d/rc.seeder ]] && /etc/rc.d/rc.seeder start # Notify that the server has booted. CONFIG_FILE="server" /opt/bin/pushover -T "${HOSTNAME%%.*}" -p 1 -m "Successful boot up."