Re: Service units for web applications

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/25/2014 08:07 PM, Lennart Poettering wrote:
> On Tue, 25.02.14 14:55, Stephen Gallagher (sgallagh@xxxxxxxxxx) 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 sites.
> 
> You can do that already, you can extend existing unit files by dropping
> a config snippet into httpd.service.d/foobar.conf. systemd will
> read httpd.service plus all files named *.conf from httpd.service.d/ and
> merge them together. THis can be used by RPMs to change or extend unit
> files of other packages as necessary.
> 
>>  2. The ability to enable and disable specific apache sites from
>>     systemctl. Basically, I'd like to have a symlink added or removed
>>     from /etc/httpd/conf.d based on whether httpd-mysite.service was
>>     enabled or disabled.
> 
> I am pretty sure that systemctl should not be in the business of
> managing other packages configuation.

Debian land has a2ensite and a2dissite for this.
Any reason not just to make those available from the httpd package like debian does?

thanks,
Pádraig.
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux