#!/bin/sh echo "--- debug ---" find /etc/httpd -type f | xargs egrep -i -e '(listen)' echo "---" exec httpd -D FOREGROUND