From: Joe Orton Date: Tue, 11 Feb 2020 10:50:40 +0000 (+0000) Subject: Update xforms. [skip ci] X-Git-Tag: 2.5.0-alpha2-ci-test-only~1663 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59cb08a3adeb44730a042298e2cf8789f20b21db;p=thirdparty%2Fapache%2Fhttpd.git Update xforms. [skip ci] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1873891 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_systemd.html.en b/docs/manual/mod/mod_systemd.html.en index 683113e19ac..412e823d074 100644 --- a/docs/manual/mod/mod_systemd.html.en +++ b/docs/manual/mod/mod_systemd.html.en @@ -27,12 +27,13 @@

Apache Module mod_systemd

Available Languages:  en  | - fr 

+ fr 

- -
Description:Provides better support for systemd integration
Status:Extension
Module Identifier:systemd_module
Source File:mod_systemd.c
+Module Identifier:systemd_module +Source File:mod_systemd.c +Compatibility:Available in Apache 2.4.42 and later

Summary

This module provides support for systemd integration. It allows @@ -40,6 +41,35 @@ Type=notify (see systemd.service(5) for more information). The module is activated if loaded.

+

Example of systemd service unit (more settings are probably needed for production systems)

[Unit]
+Description=The Apache HTTP Server
+After=network.target
+
+[Service]
+Type=notify
+ExecStart=/usr/local/apache2/bin/httpd -D FOREGROUND -k start
+ExecReload=/usr/local/apache2/bin/httpd -k graceful
+KillMode=mixed
+
+[Install]
+WantedBy=multi-user.target
+ +

Special attention should be given to how ExecStop + and/or KillMode are configured for the service. If + configured, an ExecStop command should be a + synchronous operation which itself exits when the daemon + has terminated. Running httpd -k stop + asynchronously initiates daemon termination, so does not + satisfy this condition. The example above uses + KillMode=mixed so that systemd sends + SIGTERM to signal the parent process (and only the + parent) to shut down. The entire process group is then sent + SIGKILL after TimeoutStopSec elapses, if + any processes are still running. See systemd.kill(5) + for more information.

+ +

This module does not provide support for Systemd socket activation.

+

ExtendedStatus is enabled by default if the module is loaded. If ExtendedStatus is not disabled in the configuration, run-time load and request statistics are made @@ -55,7 +85,7 @@

Available Languages:  en  | - fr 

+ fr 

top

Comments

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.