<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 4/18/2017 10:58 AM, Mantas Mikulėnas wrote:<br>
<blockquote
cite="mid:CAPWNY8X27TjbVMb20pZ_8PECeH0oQU=qUedFrK_Q6_9NL2_TzQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">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.
<div><br>
</div>
<div>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.</div>
</div>
</div>
</div>
</blockquote>
<br>
Thank you for the explanation :)<br>
</body>
</html>