Expand custom pools files

tags/0.0.1_0.fc26_el6
Daniel Berteaud 8 years ago
parent fc97f8f927
commit 5bd514c6e3
  1. 6
      createlinks

@ -15,15 +15,19 @@ foreach my $service (qw(php-fpm php56-php-fpm php70-php-fpm php71-php-fpm)){
foreach my $file qw( /etc/php-fpm.conf foreach my $file qw( /etc/php-fpm.conf
/etc/php-fpm.d/www.conf /etc/php-fpm.d/www.conf
/etc/php-fpm.d/shares.conf /etc/php-fpm.d/shares.conf
/etc/php-fpm.d/custom.conf
/opt/remi/php56/root/etc/php-fpm.conf /opt/remi/php56/root/etc/php-fpm.conf
/opt/remi/php56/root/etc/php-fpm.d/www.conf /opt/remi/php56/root/etc/php-fpm.d/www.conf
/opt/remi/php56/root/etc/php-fpm.d/shares.conf /opt/remi/php56/root/etc/php-fpm.d/shares.conf
/opt/remi/php56/root/etc/php-fpm.d/custom.conf
/etc/opt/remi/php70/php-fpm.conf /etc/opt/remi/php70/php-fpm.conf
/etc/opt/remi/php70/php-fpm.d/www.conf /etc/opt/remi/php70/php-fpm.d/www.conf
/etc/opt/remi/php70/php-fpm.d/shares.conf /etc/opt/remi/php70/php-fpm.d/shares.conf
/etc/opt/remi/php70/php-fpm.d/custom.conf
/etc/opt/remi/php71/php-fpm.conf /etc/opt/remi/php71/php-fpm.conf
/etc/opt/remi/php71/php-fpm.d/www.conf /etc/opt/remi/php71/php-fpm.d/www.conf
/etc/opt/remi/php71/php-fpm.d/shares.conf ){ /etc/opt/remi/php71/php-fpm.d/shares.conf
/etc/opt/remi/php71/php-fpm.d/custom.conf ){
templates2events($file, qw(webapps-update bootstrap-console-save share-create share-modify share-modify-server share-delete)); templates2events($file, qw(webapps-update bootstrap-console-save share-create share-modify share-modify-server share-delete));
safe_symlink('/etc/e-smith/templates-default/template-begin-ini', "root/etc/e-smith/templates$file/template-begin"); safe_symlink('/etc/e-smith/templates-default/template-begin-ini', "root/etc/e-smith/templates$file/template-begin");
} }

Loading…
Cancel
Save