Add links to start default php-fpm service

This commit is contained in:
Daniel Berteaud 2017-07-05 22:48:19 +02:00
parent 689f207cbe
commit 7d8410f63c

View File

@ -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));
}