Files
sermon-notes/bin/entrypoint.sh
Ryan Prather 559ab4e2a8 upd: entrypoint
Make sure the change the permissions to the var folder everytime we restart
2026-03-27 16:29:52 -04:00

8 lines
203 B
Bash
Executable File

#!/bin/bash
# Start the cron service in the background
service cron start
chown -R www-data:www-data /var/www/html/var
# Execute the default Docker CMD (which starts Apache in the foreground)
exec "$@"