|
|
|
#!/usr/bin/perl -w
|
|
|
|
|
|
|
|
use esmith::Build::CreateLinks qw(:all);
|
|
|
|
|
|
|
|
foreach my $service (qw(php-fpm php56-php-fpm php70-php-fpm php71-php-fpm)){
|
|
|
|
service_link_enhanced($service, "S86", "7");
|
|
|
|
service_link_enhanced($service, "K16", "6");
|
|
|
|
service_link_enhanced($service, "K16", "0");
|
|
|
|
service_link_enhanced($service, "K16", "1");
|
|
|
|
}
|
|
|
|
|
|
|
|
foreach my $file qw( /etc/php-fpm.conf
|
|
|
|
/etc/php-fpm.d/www.conf
|
|
|
|
/etc/php-fpm.d/shares.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/shares.conf
|
|
|
|
/etc/opt/remi/php70/php-fpm.conf
|
|
|
|
/etc/opt/remi/php70/php-fpm.d/www.conf
|
|
|
|
/etc/opt/remi/php70/php-fpm.d/shares.conf
|
|
|
|
/etc/opt/remi/php71/php-fpm.conf
|
|
|
|
/etc/opt/remi/php71/php-fpm.d/www.conf
|
|
|
|
/etc/opt/remi/php71/php-fpm.d/shares.conf ){
|
|
|
|
templates2events($file, qw(webapps-update bootstrap-console-save));
|
|
|
|
}
|