X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=daemon%2Fdaemon.ml;h=cf141887f37b7fe997dc43d8e1742b2971e19cd1;hb=db977dcbd165e4f32502aef03b43cbf63b2a0250;hp=5b9fc3b8c6b9bc278229b6d384f8d3972c89bd14;hpb=c8bff8ac923645d517183b130158d61f85540b33;p=whenjobs.git diff --git a/daemon/daemon.ml b/daemon/daemon.ml index 5b9fc3b..cf14188 100644 --- a/daemon/daemon.ml +++ b/daemon/daemon.ml @@ -82,6 +82,7 @@ let rec init j d = ~proc_set_variables ~proc_get_job_names ~proc_test_variables + ~proc_ping_daemon (Rpc_server.Unix addr) Rpc.Tcp (* not TCP, this is the same as SOCK_STREAM *) Rpc.Socket @@ -256,6 +257,8 @@ and proc_test_variables vars = (* Return the names. *) Array.of_list jobnames +and proc_ping_daemon () = `ok + (* Reload the jobs file. *) and reload_file () = let file = sprintf "%s/jobs.cmo" !jobsdir in