Re: Service units for web applications

2014-03-03 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Feb 25, 2014 at 04:11:23PM -0700, Stephen John Smoogen wrote: > On 25 February 2014 16:04, Simo Sorce wrote: > > On Tue, 2014-02-25 at 22:41 +0100, Lennart Poettering wrote: > > > Mabye httpd.rpm wants to include a tool that has a similar "feel" like > > > systemctl, maybe "httpdctl" or so

Re: Service units for web applications

2014-03-03 Thread Pádraig Brady
On 02/25/2014 08:07 PM, Lennart Poettering wrote: > On Tue, 25.02.14 14:55, Stephen Gallagher (sgall...@redhat.com) wrote: > >> There are actually two pieces to this that I'd like to see (and >> hopefully have someone tell me are already possible): >> >> 1. The ability to add new ExecStartPre com

Re: Service units for web applications

2014-02-25 Thread Oron Peled
On Tuesday 25 February 2014 22:41:29 Lennart Poettering wrote: > On Tue, 25.02.14 15:49, Stephen Gallagher (sgall...@redhat.com) wrote: > > For example, I might have > > > > http://reviews.myserver.com/systemd-reviews/ > > http://reviews.myserver.com/networkmanager-reviews/ > > http://otherreview

Re: Service units for web applications

2014-02-25 Thread Stephen John Smoogen
On 25 February 2014 16:04, Simo Sorce wrote: > On Tue, 2014-02-25 at 22:41 +0100, Lennart Poettering wrote: > > On Tue, 25.02.14 15:49, Stephen Gallagher (sgall...@redhat.com) wrote: > > > > > In the specific case I'm looking at, I'm not (necessarily) talking > > > about separate httpd instances.

Re: Service units for web applications

2014-02-25 Thread Simo Sorce
On Tue, 2014-02-25 at 22:41 +0100, Lennart Poettering wrote: > On Tue, 25.02.14 15:49, Stephen Gallagher (sgall...@redhat.com) wrote: > > > In the specific case I'm looking at, I'm not (necessarily) talking > > about separate httpd instances. Rather, I'm talking about either > > different virtual

Re: Service units for web applications

2014-02-25 Thread Lennart Poettering
On Tue, 25.02.14 15:49, Stephen Gallagher (sgall...@redhat.com) wrote: > In the specific case I'm looking at, I'm not (necessarily) talking > about separate httpd instances. Rather, I'm talking about either > different virtual hosts or different paths on the same virtual host. > > For example, I

Re: Service units for web applications

2014-02-25 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/25/2014 03:07 PM, Lennart Poettering wrote: > On Tue, 25.02.14 14:55, Stephen Gallagher (sgall...@redhat.com) > wrote: > >> There are actually two pieces to this that I'd like to see (and >> hopefully have someone tell me are already possible):

Re: Service units for web applications

2014-02-25 Thread Lennart Poettering
On Tue, 25.02.14 14:55, Stephen Gallagher (sgall...@redhat.com) wrote: > There are actually two pieces to this that I'd like to see (and > hopefully have someone tell me are already possible): > > 1. The ability to add new ExecStartPre commands to the httpd service > when installing new site

Service units for web applications

2014-02-25 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 So, I have an interesting problem to solve. I have a package that installs a web application[1] that is run automatically with httpd.service. The package can be deployed for one or more "sites" on the system (which may be different apache virtual hosts