fox-web-basic/rootfs/docker-entrypoint.sh

7 lines
206 B
Bash
Executable File

#!/bin/sh
find /etc/fox-start.d -maxdepth 1 -type f -exec {} \;
echo "Starting cron:"
service cron start
echo "Starting apache:"
bash -c "source /etc/apache2/envvars && exec /usr/sbin/apache2 -DFOREGROUND"