Revision e814de4f
Added by Scott Ullrich almost 19 years ago
usr/local/www/status_services.php | ||
---|---|---|
81 | 81 |
if($_GET['mode'] == "stopservice" and $_GET['service']) { |
82 | 82 |
stop_service($_GET['service']); |
83 | 83 |
$savemsg = "{$_GET['service']} has been stopped."; |
84 |
sleep(5); |
|
84 | 85 |
} |
85 | 86 |
|
86 | 87 |
/* batch mode, allow other scripts to call this script */ |
Also available in: Unified diff
Wait 5 seconds after stopping a service to give the kill process enough time to do its magic instead of marking the service as up when it really is not.