1 |
diff -ruN smeserver-php-3.0.0.old/createlinks smeserver-php-3.0.0/createlinks |
2 |
--- smeserver-php-3.0.0.old/createlinks 2020-12-21 14:06:06.983043165 +0100 |
3 |
+++ smeserver-php-3.0.0/createlinks 2020-12-21 14:26:18.221313412 +0100 |
4 |
@@ -105,8 +105,14 @@ |
5 |
|
6 |
safe_symlink('/etc/e-smith/templates-default/template-begin-shell', 'root/etc/e-smith/templates/etc/cron.daily/tmpwatch-php-fpm/template-begin'); |
7 |
|
8 |
-event_link("php-pool-dirs", qw(ibay-create ibay-delete ibay-modify ibay-modify-files ibay-modify-servers smeserver-php-update), "90"); |
9 |
-event_link("php-pool-customs", qw(ibay-create ibay-delete ibay-modify ibay-modify-files ibay-modify-servers smeserver-php-update console-save post-upgrade post-install), "90"); |
10 |
+foreach my $event (qw( ibay-create ibay-delete ibay-modify ibay-modify-files ibay-modify-servers smeserver-php-update )) { |
11 |
+ event_link( "php-pool-dirs", $event, "90"); |
12 |
+} |
13 |
+ |
14 |
+foreach my $event (qw( ibay-create ibay-delete ibay-modify ibay-modify-files ibay-modify-servers smeserver-php-update console-save post-upgrade post-install )) { |
15 |
+ event_link( "php-pool-customs", $event, "90"); |
16 |
+} |
17 |
+ |
18 |
|
19 |
# systemd units |
20 |
foreach $ver (qw( 55 56 70 71 72 73 74 )){ |
21 |
diff -ruN smeserver-php-3.0.0.old/root/etc/e-smith/events/actions/php-pool-dirs smeserver-php-3.0.0/root/etc/e-smith/events/actions/php-pool-dirs |
22 |
--- smeserver-php-3.0.0.old/root/etc/e-smith/events/actions/php-pool-dirs 2020-12-21 14:06:06.978043075 +0100 |
23 |
+++ smeserver-php-3.0.0/root/etc/e-smith/events/actions/php-pool-dirs 2020-12-21 14:22:47.275962466 +0100 |
24 |
@@ -10,7 +10,7 @@ |
25 |
my $event = shift; |
26 |
my $pool = shift; |
27 |
|
28 |
-die "Misssing pool name argument" unless $pool; |
29 |
+die "Missing pool name argument" unless $pool; |
30 |
|
31 |
my $acc = $a->get($pool); |
32 |
|