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

7 lines
206 B
Bash
Raw Normal View History

2022-01-05 15:36:36 +00:00
#!/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"