Env files mustn't use templaet-begin-ini

tags/0.0.1_0.fc26_el5
Daniel Berteaud 8 years ago
parent 7d52484a4f
commit a3402637bc
  1. 12
      createlinks

@ -12,23 +12,25 @@ 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/sysconfig/php-fpm
/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/sysconfig/php-fpm
/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/sysconfig/php-fpm
/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/sysconfig/php-fpm ){
templates2events($file, qw(webapps-update bootstrap-console-save)); templates2events($file, qw(webapps-update bootstrap-console-save));
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");
} }
foreach my $file qw( /etc/sysconfig/php-fpm
/opt/remi/php56/root/etc/sysconfig/php-fpm
/etc/opt/remi/php70/sysconfig/php-fpm
/etc/opt/remi/php71/sysconfig/php-fpm ){
templates2events($file, qw(webapps-update bootstrap-console-save));
}
event_link("php-pool-dirs", "share-create", "90"); event_link("php-pool-dirs", "share-create", "90");
event_link("php-pool-dirs", "share-modify", "90"); event_link("php-pool-dirs", "share-modify", "90");

Loading…
Cancel
Save