[systemd-devel] Service Type for Tomcat

Andrei Borzenkov arvidjaar at gmail.com
Wed Apr 19 17:32:20 UTC 2017


18.04.2017 21:35, Jonathan de Boyne Pollard пишет:
> "Igal @ Lucee.org" <igal at lucee.org>:
>> Examples I see online use forking [...]
> 
> ... because they are bad examples.  Read
> http://jdebp.eu./FGA/systemd-house-of-horror/tomcat.html .

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). If you have choice between working forking and
simple, forking is definitely preferred.


More information about the systemd-devel mailing list