Reload services and expand-template when modifying shares

tags/0.0.1_0.fc26_el5
Daniel Berteaud 8 years ago
parent f88b75fbe0
commit 9895db690f
  1. 4
      createlinks

@ -7,7 +7,7 @@ foreach my $service (qw(php-fpm php56-php-fpm php70-php-fpm php71-php-fpm)){
service_link_enhanced($service, "K16", "6");
service_link_enhanced($service, "K16", "0");
service_link_enhanced($service, "K16", "1");
foreach my $event qw(webapps-update){
foreach my $event qw(webapps-update share-create share-modify share-modify-server share-delete){
safe_symlink("reload", "root/etc/e-smith/events/$event/services2adjust/$service");
}
}
@ -24,7 +24,7 @@ foreach my $file qw( /etc/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/shares.conf ){
templates2events($file, qw(webapps-update bootstrap-console-save));
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");
}

Loading…
Cancel
Save