F15 Feature - convert as many service init files as possible to the native SystemD services
mkkp4x4 at gmail.com
Wed Nov 24 21:58:48 UTC 2010
2010/11/24 Lennart Poettering <mzerqung at 0pointer.de>:
> On Wed, 24.11.10 22:32, Michał Piotrowski (mkkp4x4 at gmail.com) wrote:
>> I wanted to convert httpd, and I saw that it's already converted and
>> it uses socket
> Where do I find this? Its not in the pkg git tree nor in bugzilla?
O LOL.... sorry for the noise :)
I created it six days ego :)
>> What if administrator want to change port to other? Let's say, that
>> I've got configured three servers:
>> 80 - cherokee
>> 81 - apache
>> 82 - nginx
> The recommended way to modify the default configuration is to copy
> /lib/systemd/system/httpd.socket to /etc/systemd/system/httpd.socket and
> then edit it there. That way you can easily drop back to the default
> setup by deleting this file again. Files in /etc/systemd/system take
> precedence over those equally named in /lib/systemd/system.
>> In this enviroment httpd.socket should trigger cherokee not apache.
>> Parameter to ListenStream should be taken from server config somehow.
>> Is it possible tu run magic grep ^Listen /etc/httpd/conf/httpd.conf |
>> cut -d " " -f 2 in ListenStream?
> No, we don't support that really. And I am not convinced we should.
> Lennart Poettering - Red Hat, Inc.
> devel mailing list
> devel at lists.fedoraproject.org
More information about the devel