2010/11/24 Lennart Poettering <mzerqung(a)0pointer.de>:
On Wed, 24.11.10 22:32, Michał Piotrowski (mkkp4x4(a)gmail.com) wrote:
> I wanted to convert httpd, and I saw that it's already converted and
> it uses socket
>
> httpd.socket
> ListenStream=80
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.
Ok
> 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
--
Lennart Poettering - Red Hat, Inc.
--
devel mailing list
devel(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Best regards,
Michal