);
(* Start syslog. *)
- Syslog.notice "daemon started: version=%s uid=%d home=%s"
- Config.package_version euid home;
-
- (* If there is a jobs.cmo file, load it. *)
- let () =
- let file = sprintf "%s/jobs.cmo" jobsdir in
- if Sys.file_exists file then
- try Daemon.reload_file () with Failure _ -> () in
+ Syslog.notice "daemon started: version=%s uid=%d home=%s native=%b"
+ Config.package_version euid home Dynlink.is_native;
+
+ (* If there is a jobs__*.cmo/jobs__*.cmxs file, load it. *)
+ (try Daemon.reload_files () with Failure _ -> ());
(* Go into main loop. *)
Daemon.main_loop ()