[systemd-devel] Service Type for Tomcat

Jonathan de Boyne Pollard j.deboynepollard-newsgroups at ntlworld.com
Wed Apr 19 20:04:07 UTC 2017


"Igal @ Lucee.org" <igal at lucee.org>:

> Examples I see online use forking [...]

Jonathan de Boyne Pollard:

> ... because they are bad examples. 
> Read http://jdebp.eu./FGA/systemd-house-of-horror/tomcat.html .

Andrei Borzenkov:

> Service type simple is the worst possible type as it does not provide 
> for any synchronization between started process and dependent 
> services.  So examples that recommend forking are correct (as long 
> as forking is implemented correctly).

... which it isn't.  Read
http://jdebp.eu./FGA/systemd-house-of-horror/tomcat.html again, properly this
time, and then read
http://jdebp.eu./FGA/unix-daemon-readiness-protocol-problems.html#NooneSpeaksForking
.


More information about the systemd-devel mailing list