summaryrefslogtreecommitdiffstats
path: root/httpd.service.xml
diff options
context:
space:
mode:
authorJoe Orton <jorton@redhat.com>2017-10-03 09:16:29 +0100
committerJoe Orton <jorton@redhat.com>2017-10-03 09:16:29 +0100
commit6d96e6a1937ef08901638b1500498b49321d3d33 (patch)
tree8878595600ccc5afac799c3f5a5ecd6cdf857544 /httpd.service.xml
parentd31ea66d9d9bfa62d3aae8b4ee0f390134dc89d1 (diff)
downloadhttpd-6d96e6a1937ef08901638b1500498b49321d3d33.tar.gz
httpd-6d96e6a1937ef08901638b1500498b49321d3d33.tar.xz
httpd-6d96e6a1937ef08901638b1500498b49321d3d33.zip
add notes on enabling httpd_graceful_shutdown boolean for prefork
Diffstat (limited to 'httpd.service.xml')
-rw-r--r--httpd.service.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/httpd.service.xml b/httpd.service.xml
index d851862..4402ed5 100644
--- a/httpd.service.xml
+++ b/httpd.service.xml
@@ -167,6 +167,24 @@ Wants=network-online.target</programlisting>
</refsect2>
<refsect2>
+ <title>Changing the default MPM (Multi-Processing Module)</title>
+
+ <para>httpd offers a choice of multi-processing modules (MPMs),
+ which can be configured in
+ <filename>/etc/httpd/conf.modules.d/00-mpm.conf</filename>. The
+ default is to use the <emphasis>@MPM@</emphasis> MPM.</para>
+
+ <para>If using the <emphasis>prefork</emphasis> MPM, the
+ "httpd_graceful_shutdown" SELinux boolean should also be
+ enabled, since with this MPM, httpd needs to establish TCP
+ connections to local ports to successfully complete a graceful
+ restart or shutdown. This boolean can be enabled by running the
+ command: <command>semanage boolean -m --on
+ httpd_graceful_shutdown</command></para>
+
+ </refsect2>
+
+ <refsect2>
<title>systemd integration and mod_systemd</title>
<para>The httpd service uses the <option>notify</option> systemd