]> granicus.if.org Git - apache/blob - docs/manual/mod/mod_systemd.xml.fr
XML update.
[apache] / docs / manual / mod / mod_systemd.xml.fr
1 <?xml version="1.0"?>
2 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
3 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
4 <!-- English Revision : 1620075 -->
5 <!-- French translation : Lucien GENTIS -->
6 <!-- $LastChangedRevision: 2015011801 $ -->
7
8 <!--
9  Licensed to the Apache Software Foundation (ASF) under one or more
10  contributor license agreements.  See the NOTICE file distributed with
11  this work for additional information regarding copyright ownership.
12  The ASF licenses this file to You under the Apache License, Version 2.0
13  (the "License"); you may not use this file except in compliance with
14  the License.  You may obtain a copy of the License at
15
16      http://www.apache.org/licenses/LICENSE-2.0
17
18  Unless required by applicable law or agreed to in writing, software
19  distributed under the License is distributed on an "AS IS" BASIS,
20  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21  See the License for the specific language governing permissions and
22  limitations under the License.
23 -->
24
25 <modulesynopsis metafile="mod_systemd.xml.meta">
26
27 <name>mod_systemd</name>
28 <description>Fournit un support am&eacute;lior&eacute; pour l'int&eacute;gration de systemd</description>
29 <status>Extension</status>
30 <sourcefile>mod_systemd.c</sourcefile>
31 <identifier>systemd_module</identifier>
32
33 <summary>
34     <p>Ce module impl&eacute;mente le support de l'int&eacute;gration de systemd. Il
35     permet de d&eacute;marrer httpd en temps que service avec le param&egrave;tre de
36     systemd <code>Type=notify</code> (voir la page de manuel
37     systemd.service(5) pour plus de d&eacute;tails). Il ajoute aussi des
38     statistiques &agrave; la sortie de la commande <code>systemctl
39     status</code>, et fournit diverses directives pour l'int&eacute;gration de
40     systemd.
41     </p>
42 </summary>
43
44 <directivesynopsis>
45 <name>IdleShutdown</name>
46 <description>Permet d'arr&ecirc;ter httpd lorsque qu'il est inactif pendant un
47 certain temps.</description>
48 <syntax>IdleShutdown seconds</syntax>
49 <default>IdleShutdown 0</default>
50 <contextlist><context>server config</context></contextlist>
51
52 <usage>
53     <p>La directive <directive>IdleShutdown</directive> permet d'arr&ecirc;ter
54     httpd lorsque qu'il est inactif pendant un certain temps. Ce statut
55     d'inactivit&eacute; se base sur le nombre d'octets envoy&eacute;s ; par cons&eacute;quent, si
56     aucun octet n'est envoy&eacute; pendant le temps sp&eacute;cifi&eacute; par cette
57     directive, httpd sera arr&ecirc;t&eacute;. Par d&eacute;faut, IdleShutdown est d&eacute;finie &agrave;
58     0, ce qui signifie que cette fonctionnalit&eacute; est d&eacute;sactiv&eacute;e.
59     </p>
60
61     <p>Cette fonctionnalit&eacute; prend tout son sens en combinaison avec
62     l'activation du socket systemd (voir la page de manuel
63     systemd.socket(5)). En effet, lorsque httpd est d&eacute;marr&eacute; par systemd
64     suite &agrave; l'arriv&eacute;e d'une ou plusieurs requ&ecirc;tes HTTP, cette directive
65     vous permet d'arr&ecirc;ter httpd automatiquement lorsque toutes les
66     requ&ecirc;tes ont &eacute;t&eacute; trait&eacute;es.
67     </p>
68
69     <note type="warning"><title>Particularit&eacute; de cette impl&eacute;mentation</title><p>
70     De par la conception de cette impl&eacute;mentation, l'inactivit&eacute; de httpd
71     n'est v&eacute;rifi&eacute;e que toutes les 10 secondes, ce qui signifie que si
72     vous sp&eacute;cifiez <code>IdleShutdown 14</code>, httpd ne s'arr&ecirc;tera
73     qu'apr&egrave;s 20 secondes d'inactivit&eacute;.
74     </p></note>
75 </usage>
76 </directivesynopsis>
77
78
79 </modulesynopsis>