summaryrefslogtreecommitdiffstats
path: root/etc/inc/service-utils.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-04-26 07:33:00 +0000
committerErmal <eri@pfsense.org>2013-04-26 07:33:00 +0000
commit187250859872e06d3144d041ee577421039fbb5d (patch)
tree5f4344e6f19d361541d0d72edd172ae8b90dd66f /etc/inc/service-utils.inc
parent474b4debfbc2a80b484e4fc3a49da48832660346 (diff)
downloadpfsense-187250859872e06d3144d041ee577421039fbb5d.zip
pfsense-187250859872e06d3144d041ee577421039fbb5d.tar.gz
Correct checking status of vhosts-http as submitted by: http://forum.pfsense.org/index.php/topic,61636.0.html
Diffstat (limited to 'etc/inc/service-utils.inc')
-rw-r--r--etc/inc/service-utils.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/service-utils.inc b/etc/inc/service-utils.inc
index f920252..af90809 100644
--- a/etc/inc/service-utils.inc
+++ b/etc/inc/service-utils.inc
@@ -414,6 +414,9 @@ function get_service_status($service) {
if (isset($config['captiveportal'][$service['zone']]['httpslogin']))
$running = $running && is_pid_running("{$g['varrun_path']}/lighty-{$service['zone']}-CaptivePortal-SSL.pid");
break;
+ case "vhosts-http":
+ $running = is_pid_running("{$g['varrun_path']}/vhosts-http.pid");
+ break;
default:
$running = is_service_running($service['name']);
}
OpenPOWER on IntegriCloud