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

10 lines
297 B
Bash
Raw Normal View History

2022-01-05 15:36:36 +00:00
#!/bin/sh
echo -n "Copying FOX ENV...";
env | grep -E "^FOX_" > /etc/security/pam_env.conf
echo "OK"
2022-01-05 15:36:36 +00:00
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"