Browse Source

Suppression pool fpm par défaut

Teddy Cornaut 1 month ago
parent
commit
34159c7ed1
2 changed files with 3 additions and 4 deletions
  1. 0
    1
      postservice/61-pve
  2. 3
    3
      posttemplate/61-pve

+ 0
- 1
postservice/61-pve View File

@@ -85,7 +85,6 @@ function synchroHost()
85 85
     done
86 86
 
87 87
     # Redémarrage service apache
88
-    cmd="${cmd} a2dissite 000-default;"
89 88
     cmd="${cmd} a2ensite mse;"
90 89
     cmd="${cmd} service php5.6-fpm restart;"
91 90
     cmd="${cmd} service apache2 stop;"

+ 3
- 3
posttemplate/61-pve View File

@@ -16,9 +16,9 @@ if [ -f /etc/apache2/sites-available/000-default.conf ]; then
16 16
     rm -f /etc/apache2/sites-available/000-default.conf
17 17
 fi
18 18
 
19
-# Apache conf
20
-a2dismod mpm_event
21
-a2enmod mpm_worker
19
+if [ -f /etc/php/5.6/fpm/pool.d/www.conf ]; then
20
+    rm -f /etc/php/5.6/fpm/pool.d/www.conf
21
+fi
22 22
 
23 23
 apacheMods="proxy_fcgi rewrite expires"
24 24