#!/bin/bash set -e /etc/init.d/cron start tail -f /var/log/jobs.log /var/log/job-errors.log & apache2-foreground