Mysql check replication, php-fcgi init (pre php-fpm style) and glassfish log compress/rotate script