diff options
author | Ermal <eri@pfsense.org> | 2013-04-26 07:33:00 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-04-26 07:33:00 +0000 |
commit | 187250859872e06d3144d041ee577421039fbb5d (patch) | |
tree | 5f4344e6f19d361541d0d72edd172ae8b90dd66f /etc/inc/service-utils.inc | |
parent | 474b4debfbc2a80b484e4fc3a49da48832660346 (diff) | |
download | pfsense-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.inc | 3 |
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']); } |