Browse Source

Suppression reliquats et confs par défaut sur les slaves

Teddy Cornaut 1 month ago
parent
commit
da2a508425
1 changed files with 7 additions and 0 deletions
  1. 7
    0
      postservice/61-pve

+ 7
- 0
postservice/61-pve View File

@@ -57,6 +57,13 @@ function synchroHost()
57 57
     --include="pool.d/mse.conf" \
58 58
     /etc/php/5.6/fpm/ root@${hst}:/etc/php/5.6/fpm/
59 59
 
60
+    # Nettoyage des confs par défaut
61
+    cmd="${cmd} rm -f /etc/php/5.6/fpm/pool.d/www.conf;"
62
+    cmd="${cmd} rm -f /etc/php/5.6/fpm/pool.d/*~;"
63
+    cmd="${cmd} rm -f /etc/apache2/mods-enabled/*~"
64
+    cmd="${cmd} rm -f /etc/apache2/sites-enabled/*~"
65
+    cmd="${cmd} rm -f /etc/apache2/sites-enabled/mse.conf"
66
+
60 67
     # Nettoyage du cache
61 68
     cmd="${cmd} rm -rf ${WORKDIR}/app/cache/*;"
62 69