templates.metadata for shares pools must be independant from www.conf

tags/0.0.1_0.fc26_el5
Daniel Berteaud 8 years ago
parent d73eb21445
commit 9ac0ec6917
  1. 6
      createlinks
  2. 2
      root/etc/e-smith/templates.metadata/etc/opt/remi/php70/php-fpm.d/shares.conf
  3. 2
      root/etc/e-smith/templates.metadata/etc/opt/remi/php71/php-fpm.d/shares.conf
  4. 2
      root/etc/e-smith/templates.metadata/etc/php-fpm.d/shares.conf
  5. 2
      root/etc/e-smith/templates.metadata/opt/remi/php56/root/etc/php-fpm.d/shares.conf

@ -23,9 +23,3 @@ foreach my $file qw( /etc/php-fpm.conf
/etc/opt/remi/php71/php-fpm.d/shares.conf ){ /etc/opt/remi/php71/php-fpm.d/shares.conf ){
templates2events($file, qw(webapps-update bootstrap-console-save)); templates2events($file, qw(webapps-update bootstrap-console-save));
} }
safe_symlink('/etc/e-smith/templates.metadata/etc/php-fpm.d/www.conf' , 'root/etc/e-smith/templates.metadata/etc/php-fpm.d/shares.conf');
safe_symlink('/etc/e-smith/templates.metadata/opt/remi/php56/root/etc/php-fpm.d/www.conf', 'root/etc/e-smith/templates.metadata/opt/remi/php56/root/etc/php-fpm.d/shares.conf');
safe_symlink('/etc/e-smith/templates.metadata/etc/opt/remi/php70/php-fpm.d/www.conf', 'root/etc/e-smith/templates.metadata/etc/opt/remi/php70/php-fpm.d/shares.conf');
safe_symlink('/etc/e-smith/templates.metadata/etc/opt/remi/php71/php-fpm.d/www.conf', 'root/etc/e-smith/templates.metadata/etc/opt/remi/php71/php-fpm.d/shares.conf');

@ -0,0 +1,2 @@
TEMPLATE_PATH="/etc/php-fpm.d/shares.conf"
MORE_DATA={ PHP_VERSION => 70 }

@ -0,0 +1,2 @@
TEMPLATE_PATH="/etc/php-fpm.d/shares.conf"
MORE_DATA={ PHP_VERSION => 71 }

@ -0,0 +1,2 @@
TEMPLATE_PATH="/etc/php-fpm.d/shares.conf"
MORE_DATA={ PHP_VERSION => '' }

@ -0,0 +1,2 @@
TEMPLATE_PATH="/etc/php-fpm.d/www.conf"
MORE_DATA={ PHP_VERSION => 56 }
Loading…
Cancel
Save