F15 Feature - convert as many service init files as possible to the native SystemD services

Michał Piotrowski mkkp4x4 at gmail.com
Wed Nov 24 21:32:42 UTC 2010


I wanted to convert httpd, and I saw that it's already converted and
it uses socket

httpd.socket
ListenStream=80

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

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?

Best regards,
Michal


More information about the devel mailing list