start-apache.sh 252 B

12345678
  1. #!/bin/bash
  2. # Make sure we're not confused by old, incompletely-shutdown httpd
  3. # context after restarting the container. httpd won't start correctly
  4. # if it thinks it is already running.
  5. rm -rf /run/apache2/*
  6. exec /usr/sbin/apache2ctl -D FOREGROUND