Remove unnecessary files
هذا الالتزام موجود في:
11
q5-mithal-monitor/Start.sh
Normal file
11
q5-mithal-monitor/Start.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash\
|
||||
# Runs the background monitoring loop (monitor.py) and serves the
|
||||
# dashboard + monitor_data.json over HTTP at the same time.
|
||||
|
||||
set -e
|
||||
|
||||
# Start the monitor in the background; it updates monitor_data.json every 60s
|
||||
python monitor.py &
|
||||
|
||||
# Serve the current directory (dashboard.html + monitor_data.json)
|
||||
python -m http.server 8080
|
||||
المرجع في مشكلة جديدة
حظر مستخدم