#!/bin/bash set -e # Start Apache in the foreground apache2ctl -D FOREGROUND & # Run restart.py in the foreground python3 /var/www/python/restart.py