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 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@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to