From 12527c1508a2484f9a288c1f9021690f16c15a4a Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Sat, 8 Jul 2017 12:06:14 +0200 Subject: [PATCH] Makes sure we remove php pool dirs on share delete --- root/etc/e-smith/events/actions/php-pool-dirs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/e-smith/events/actions/php-pool-dirs b/root/etc/e-smith/events/actions/php-pool-dirs index 93bd442..efc31d8 100644 --- a/root/etc/e-smith/events/actions/php-pool-dirs +++ b/root/etc/e-smith/events/actions/php-pool-dirs @@ -18,7 +18,7 @@ die "$pool not found in the account database\n" unless $acc; my $dyn = $acc->prop('DynamicContent') || 'disabled'; -if ($acc =~ m/^enabled|on|1|yes$/){ +if ($acc =~ m/^enabled|on|1|yes$/ && $event ne 'share-delete'){ make_path( qw( /var/log/php/$pool /var/lib/php/$pool/session /var/lib/php/$pool/wsdlcache