ZeroTierOne/docker-test/run-apache.sh
2015-09-27 21:48:38 -04:00

9 lines
257 B
Bash

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