diff --git a/createlinks b/createlinks index 48cb6e0..f8b0911 100644 --- a/createlinks +++ b/createlinks @@ -2,12 +2,16 @@ use esmith::Build::CreateLinks qw(:all); -service_link_enhanced("php56-php-fpm", "S86", "7"); -service_link_enhanced("php56-php-fpm", "K16", "6"); -service_link_enhanced("php56-php-fpm", "K16", "0"); -service_link_enhanced("php56-php-fpm", "K16", "1"); +foreach my $service (qw(php-fpm php56-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(/opt/remi/php56/root/etc/php-fpm.conf - /opt/remi/php56/root/etc/php-fpm.d/www.conf){ +foreach my $file qw( /etc/php-fpm.conf + /etc/php-fpm.d/www.conf + /opt/remi/php56/root/etc/php-fpm.conf + /opt/remi/php56/root/etc/php-fpm.d/www.conf ){ templates2events($file, qw(webapps-update bootstrap-console-save)); }