Boinc server code
costamagnagianfranco at yahoo.it
Wed Nov 26 09:10:34 UTC 2014
Hi Steffen and Guo,
recently upstream changed the httpd pid detection code, this new one seems more robust.
Unfortunately we will need (not now but in the near future) to tweak our detection patch, to make it work also with apache2 pid.
this is the commit I'm referring to:
and the patch is server_status_php.patch.
Since I publish in a nightly ppa all the upstream nightly code I already changed the patch to be like this
@@ -325,7 +325,8 @@
// Check for httpd.pid file of upload/download server.
$uldl_running = remote_process_exists($uldl_host, $uldl_prog);
-show_status($uldl_host, tra("upload/download server"), $uldl_running?1:0);
+$uldl_running_apache = remote_process_exists($uldl_host, "apache2");
+show_status($uldl_host, tra("upload/download server"), ($uldl_running || $uldl_running_apache)?1:0);
$sched_running = !file_exists("../../stop_sched");
show_status($sched_host, tra("scheduler"), $sched_running);
I can't test since I do not own a boinc server, but the change seems good at least to me.
Do you have any opinion or better patch?
have many thanks
More information about the pkg-boinc-devel