> If you want to make your daemon interoperate with systemd's status 
> mechanism to the extent of having custom status reports, you have to 
> modify your daemon to send readiness notification messages through a 
> socket to the systemd service manager.  That way, not only will 
> "/etc/init.d/jh status" report your custom statuses, so too will 
> "systemctl status jh" and (possibly) so too will (some) GUI 
> administration tools.

Jonathan,

Thanks for your response.  Looks like it is easier to include a new
case, e.g., real-status), to the init script and use that rather than
trying to make systemd to find out the real status of the service.

-- Juha

Reply via email to