Installation de Supercronic pour la gestion des tâches planifiées.

This commit is contained in:
2026-10-25 15:40:40 +01:00
parent a1948ecf3a
commit cde606be8c
2 changed files with 34 additions and 1 deletions
+16
View File
@@ -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