Browse Source

Correctif conf fpm override par les maj

develop
Teddy Cornaut 2 months ago
parent
commit
90cd9f152f
3 changed files with 8 additions and 2 deletions
  1. 1
    1
      dicos/61_pve.xml
  2. 0
    1
      postservice/61-pve
  3. 7
    0
      tmpl/mse-fpm.conf

+ 1
- 1
dicos/61_pve.xml View File

@@ -20,7 +20,7 @@
20 20
         <file filelist='mse-apache' name='/etc/apache2/mods-available/mpm_event.conf' mkdir='True' rm='True'/>
21 21
         <file filelist='mse-apache' name='/etc/apache2/mods-available/mpm_worker.conf' mkdir='True' rm='True'/>
22 22
         <file filelist='mse-apache' name='/etc/apache2/conf-available/security.conf' source='mse-apache-security.conf' mkdir='True' rm='True'/>
23
-        <file filelist='mse-apache' name='/etc/php/5.6/fpm/pool.d/99-mse.conf' source='mse-fpm.conf' mkdir='True' rm='True'/>
23
+        <file filelist='mse-apache' name='/etc/php/5.6/fpm/pool.d/www.conf' source='mse-fpm.conf' mkdir='True' rm='True'/>
24 24
         <file filelist='mse-apache-revproxy' name='/etc/apache2/mods-available/remoteip.conf' source='mse-apache-remoteip.conf' mkdir='True' rm='True'/>
25 25
 
26 26
         <service servicelist='svApache'>apache2</service>

+ 0
- 1
postservice/61-pve View File

@@ -55,7 +55,6 @@ function synchroHost()
55 55
     --include="php.ini" \
56 56
     --include="pool.d" \
57 57
     --include="pool.d/www.conf" \
58
-    --include="pool.d/99-mse.conf" \
59 58
     /etc/php/5.6/fpm/ root@${hst}:/etc/php/5.6/fpm/
60 59
 
61 60
     # Nettoyage des confs par défaut

+ 7
- 0
tmpl/mse-fpm.conf View File

@@ -1,3 +1,10 @@
1
+[www]
2
+
3
+user = www-data
4
+group = www-data
5
+
6
+listen = /run/php/php5.6-fpm.sock
7
+
1 8
 pm = %%mseFpmMode
2 9
 pm.max_children = %%mseFpmMaxChildren
3 10
 %if %%mseFpmMode == "dynamic"

Loading…
Cancel
Save