Re: [systemd-devel] Service Type for Tomcat

2017-04-20 Thread Lennart Poettering
On Wed, 19.04.17 20:32, Andrei Borzenkov (arvidj...@gmail.com) wrote: > 18.04.2017 21:35, Jonathan de Boyne Pollard пишет: > > "Igal @ Lucee.org" : > >> Examples I see online use forking [...] > > > > ... because they are bad examples. Read > >

Re: [systemd-devel] Service Type for Tomcat

2017-04-19 Thread Jonathan de Boyne Pollard
"Igal @ 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

Re: [systemd-devel] Service Type for Tomcat

2017-04-19 Thread Andrei Borzenkov
18.04.2017 21:35, Jonathan de Boyne Pollard пишет: > "Igal @ 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

Re: [systemd-devel] Service Type for Tomcat

2017-04-18 Thread Jonathan de Boyne Pollard
"Igal @ Lucee.org" : > Examples I see online use forking [...] ... because they are bad examples. Read http://jdebp.eu./FGA/systemd-house-of-horror/tomcat.html . ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] Service Type for Tomcat

2017-04-18 Thread Mantas Mikulėnas
On Tue, Apr 18, 2017 at 8:44 PM, Igal @ Lucee.org wrote: > I've read about the difference between "forking" and "notify", but am not > sure how it really applies in real life. > > Can someone tell me what would be the consequences of setting Tomcat (or > any Java-based service,

Re: [systemd-devel] Service Type for Tomcat

2017-04-18 Thread Igal @ Lucee.org
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

Re: [systemd-devel] Service Type for Tomcat

2017-04-18 Thread Tomasz Torcz
On Tue, Apr 18, 2017 at 10:44:59AM -0700, Igal @ Lucee.org wrote: > I've read about the difference between "forking" and "notify", but am not > sure how it really applies in real life. > > Can someone tell me what would be the consequences of setting Tomcat (or any > Java-based service, for that

[systemd-devel] Service Type for Tomcat

2017-04-18 Thread Igal @ Lucee.org
I've read about the difference between "forking" and "notify", but am not sure how it really applies in real life. Can someone tell me what would be the consequences of setting Tomcat (or any Java-based service, for that matter) to Type=notify instead of Type=forking? Examples I see online