You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by lg...@apache.org on 2020/02/20 16:31:37 UTC
svn commit: r1874264 - /httpd/httpd/trunk/docs/manual/mod/mod_systemd.xml.fr
Author: lgentis
Date: Thu Feb 20 16:31:36 2020
New Revision: 1874264
URL: http://svn.apache.org/viewvc?rev=1874264&view=rev
Log:
fr doc XML file update.
Modified:
httpd/httpd/trunk/docs/manual/mod/mod_systemd.xml.fr
Modified: httpd/httpd/trunk/docs/manual/mod/mod_systemd.xml.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_systemd.xml.fr?rev=1874264&r1=1874263&r2=1874264&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_systemd.xml.fr [utf-8] (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_systemd.xml.fr [utf-8] Thu Feb 20 16:31:36 2020
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1873715:1873889 (outdated) -->
+<!-- English Revision: 1873889 -->
<!-- French translation : Lucien GENTIS -->
<!--
@@ -38,6 +38,41 @@
href="https://www.freedesktop.org/software/systemd/man/systemd.service.html">systemd.service(5)</a>
pour plus de détails). Le module est activé s'il est chargé.</p>
+ <example>
+ <title>Exemple basique d'unité de service systemd (à étoffer pour un système en
+ production)</title>
+ <pre>
+[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
+ </pre>
+ </example>
+
+ <p>Si vous utilisez <code>ExecStop</code> et/ou <code>KillMode</code>, vous
+ devez prêter une attention particulière à leur configuration pour ce service.
+ Si elle est présente, une commande <code>ExecStop</code> doit être une
+ <em>operation synchrone</em> qui se termine elle-même en même temps que le
+ démon. Cette condition n'est pas satisfaite si vous exécutez la commande
+ <code>httpd -k stop</code> de manière <em>asynchrone</em>, car elle initie
+ l'arrêt du démon. L'exemple ci-dessus utilise <code>KillMode=mixed</code>
+ afin que systemd envoie <code>SIGTERM</code> au processus parent (et
+ seulement à ce dernier) pour lui indiquer qu'il doit s'arrêter. Les processus
+ encore en cours d'exécution après un temps égal à <code>TimeoutStopSec</code>
+ recevront alors le signal <code>SIGKILL</code>. Voir <a
+ href="https://www.freedesktop.org/software/systemd/man/systemd.kill.html">systemd.kill(5)</a>
+ pour plus d'informations.</p>
+
+ <p>Ce module ne fournit pas le support de l'activation du socket Systemd.</p>
+
<p><directive module="core">ExtendedStatus</directive> est activé par défaut
si le module est chargé. Si <directive
module="core">ExtendedStatus</directive> n'est pas explicitement désactivé