diff --git a/httpd.service.xml b/httpd.service.xml index 4402ed5..b8fe7b3 100644 --- a/httpd.service.xml +++ b/httpd.service.xml @@ -221,6 +221,31 @@ Wants=network-online.target + + Socket activation + + Socket activation (see + systemd.socket5 + for more information) can be used with httpd + by enabling the httpd.socket unit. The + httpd listener configuration must exactly + match the ListenStream options configured for + the httpd.socket unit. The default + httpd.socket has a + ListenStream=80 and, if mod_ssl is installed, + ListenStream=443 by a drop-in file. If + additional Listen directives are added to the + httpd configuration, corresponding + ListenStream options should be added via + drop-in files, for example via systemctl edit + httpd.socket. + + If using socket activation with httpd, only one listener + on any given TCP port is supported; a configuration with both + "Listen 127.0.0.1:80" and "Listen + 192.168.1.2:80" will not work. + + @@ -240,6 +265,7 @@ Wants=network-online.target systemctl1, systemd.service5, systemd.exec5, + systemd.socket5, httpd_selinux8, semanage8