<?php
// Read status from status.txt
$statusFile = "status.txt";

if (file_exists($statusFile)) {
    $status = trim(file_get_contents($statusFile));
    echo $status; // Outputs "Running" or "Not Running"
} else {
    echo "Not Running"; // Default if file is missing
}
?>
