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 :)
_______________________________________________
systemd-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to