#!/bin/sh set -e php ./gen_config.php rm ./gen_config.php echo "Starting up apache2" exec httpd -DFOREGROUND