#!/bin/sh set -e if [ ! -f '/var/www/html/4get/data/config.php' ] && [ -f './gen_config.php' ]; then php ./gen_config.php rm -f ./gen_config.php fi echo "Starting up apache2" exec httpd -DFOREGROUND