Re: [Spacewalk-devel] [PATCH] Added systemd unit files

2012-04-15 Thread Jan Pazdziora
On Fri, Apr 13, 2012 at 02:40:33PM -0300, Pablo Hess wrote: > > In the past, we've faced issues with tomcat when starting it -- the > > service tomcat6 start would return even if the applications weren't > > loaded yet, so any HTTP/ajp request would fail. See the lsof hack in > > spacewalk-service.

Re: [Spacewalk-devel] [PATCH] Added systemd unit files

2012-04-13 Thread Pablo Hess
I'd like to rephrase the question: > The current approach doesn't address this, but we could use systemd's > socket functionality: systemd itself is able to open the socket and > queue incoming requests, only releasing them for processing when the > consumer side (tomcat6) comes up -- xinetd style

Re: [Spacewalk-devel] [PATCH] Added systemd unit files

2012-04-13 Thread Pablo Hess
> In the past, we've faced issues with tomcat when starting it -- the > service tomcat6 start would return even if the applications weren't > loaded yet, so any HTTP/ajp request would fail. See the lsof hack in > spacewalk-service. How is this issue addressed in the proposed systemd > approach? Th

Re: [Spacewalk-devel] [PATCH] Added systemd unit files

2012-04-12 Thread Jan Pazdziora
On Mon, Apr 02, 2012 at 06:42:40PM -0300, Pablo Hess wrote: > Hello Folks, > > In an effort to port Spacewalk's sysV init script to the > all-new-and-shiny systemd, Marcelo Mello and I have created quite a few > "unit files" (systemd speak for init script). > > Due to service dependencies

Re: [Spacewalk-devel] [PATCH] Added systemd unit files

2012-04-11 Thread Pablo Hess
Miroslav, any news in this regard? Any replies? Is this "systemd nativization" effort out of the question? -- Pablo N. Hess RHCA, RHCVA, RHCX, RHCI, RHCE Instructor - Red Hat ph...@redhat.com +55 11 9325-3016 PGP fingerprint: D34B F26B A96F 3CFC 87CE 3F23 12F3 05F3 1CF9 5486

Re: [Spacewalk-devel] [PATCH] Added systemd unit files

2012-04-04 Thread Pablo Hess
On 03-04-2012 09:47, Miroslav Suchý wrote: > The idea of having separate target is interesting, But I'm not sure if > it is wise. > We already have script spacewalk-service and since it just wrapper > around "service" command, it works on RHELs and Fedoras. No matter if > system-V or systemd is use

Re: [Spacewalk-devel] [PATCH] Added systemd unit files

2012-04-03 Thread Miroslav Suchý
On 04/02/2012 11:42 PM, Pablo Hess wrote: Hello Folks, In an effort to port Spacewalk's sysV init script to the all-new-and-shiny systemd, Marcelo Mello and I have created quite a few "unit files" (systemd speak for init script). Due to service dependencies, we want to propose a new l

[Spacewalk-devel] [PATCH] Added systemd unit files

2012-04-02 Thread Pablo Hess
Hello Folks, In an effort to port Spacewalk's sysV init script to the all-new-and-shiny systemd, Marcelo Mello and I have created quite a few "unit files" (systemd speak for init script). Due to service dependencies, we want to propose a new layout to make it compatible with the systemd a