Commit 6229f0fa authored by Ad Schellevis's avatar Ad Schellevis

fix squid status reporting

parent bf4987f5
......@@ -82,7 +82,7 @@ class ServiceController extends ApiControllerBase
if (strpos($response, "not running") > 0) {
$status = "stopped";
} elseif (strpos($response, "not running") > 0) {
} elseif (strpos($response, "is running") > 0) {
$status = "running";
} else {
$status = "unkown";
......
......@@ -20,4 +20,4 @@ message:restarting proxy
command:/usr/local/etc/rc.d/squid status;exit 0
parameters:
type:script_output
message:restarting proxy
message:request proxy status
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment