Installation de Supercronic pour la gestion des tâches planifiées.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
supercronic /etc/crontab &
|
||||
|
||||
if command -v apache2-foreground >/dev/null 2>&1; then
|
||||
exec docker-php-entrypoint apache2-foreground
|
||||
fi
|
||||
|
||||
if command -v frankenphp >/dev/null 2>&1; then
|
||||
exec frankenphp run --config /etc/caddy/Caddyfile
|
||||
fi
|
||||
|
||||
echo "Impossible de déterminer le serveur PHP à démarrer." >&2
|
||||
exit 1
|
||||
Reference in New Issue
Block a user