[systemd-devel] Service Type for Tomcat

Igal @ Lucee.org igal at lucee.org
Tue Apr 18 18:01:38 UTC 2017


On 4/18/2017 10:58 AM, Mantas Mikulėnas wrote:
> For example, with Type=forking, systemd expects the main process to 
> "fork into background" (daemonize) once it's ready. Similarly, if you 
> use Type=notify, systemd will wait for "READY=1" to be sent over a 
> Unix socket.
>
> Tomcat does not seem to have any code that would implement 
> Type=notify, so if you try to use it, your service will spend its 
> first minute in the 'activating' stage, and get immediately killed 
> afterwards.

Thank you for the explanation :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20170418/7381ac19/attachment.html>


More information about the systemd-devel mailing list