VHosts - no service status even running in background
-
I did try some workaround though i assume that core scripts of pfsense is out of league of contrib package.
status_services.php
@line 356 else if ($service['name'] == "captiveportal")
$running = is_pid_running("{$g['varrun_path']}/lighty-CaptivePortal.pid");
+ else if ($service['name'] == "vhosts-http")
+ $running = is_pid_running("{$g['varrun_path']}/vhosts-http.pid");
else
$running = is_service_running($service['name']); -
/usr/local/www/widgets/widgets(25): diff services_status.widget.php services_status.widget.php.orig
199,200d198
< else if ($service['name'] == "vhosts-http")
< $running = is_pid_running("{$g['varrun_path']}/vhosts-http.pid");/usr/local/www(26): diff status_services.php status_services.php.orig
357,358d356
< else if ($service['name'] == "vhosts-http")
< $running = is_pid_running("{$g['varrun_path']}/vhosts-http.pid"); -
any thoughts?
-
Is there a plan to commit this change? It seems to work very well, but I find it annoying that I have to re-apply it every time I upgrade the snapshot. If I don't apply this change, vhosts still always is shown as not running in pfSense webGUI, even though ps does report it as running.