first commit
هذا الالتزام موجود في:
16
q5-mithal-monitor/entrypoint.sh
Normal file
16
q5-mithal-monitor/entrypoint.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
echo "============================================"
|
||||
echo " Mithal.space Monitor — Starting"
|
||||
echo "============================================"
|
||||
|
||||
# Start monitor in background
|
||||
echo "[entrypoint] Starting monitor.py..."
|
||||
python /app/monitor.py &
|
||||
MONITOR_PID=$!
|
||||
echo "[entrypoint] Monitor started (PID: $MONITOR_PID)"
|
||||
|
||||
# Start nginx in foreground
|
||||
echo "[entrypoint] Starting Nginx..."
|
||||
exec nginx -g "daemon off;"
|
||||
المرجع في مشكلة جديدة
حظر مستخدم