From 9895db690f645d1710ad4a4195c64fbd14324403 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 12 Jul 2017 10:16:53 +0200 Subject: [PATCH] Reload services and expand-template when modifying shares --- createlinks | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/createlinks b/createlinks index fe54949..478cd7c 100644 --- a/createlinks +++ b/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"); }