48 |
+ |
+ |
49 |
+ my $version = $horde->prop('PHPVersion') || '72'; |
+ my $version = $horde->prop('PHPVersion') || '72'; |
50 |
+ my $status = $horde->prop('status') || 'disabled'; |
+ my $status = $horde->prop('status') || 'disabled'; |
51 |
+ next unless ($status eq 'enabled' && $version eq $PHP_VERSION); |
+ return unless ($status eq 'enabled' && $version eq $PHP_VERSION); |
52 |
+ my $key = $horde->key; |
+ my $key = $horde->key; |
53 |
+ my $pool_name = lc $key; |
+ my $pool_name = lc $key; |
54 |
+ my $memory_limit = $horde->prop('PHPMemoryLimit') || '128M'; |
+ my $memory_limit = $horde->prop('PHPMemoryLimit') || '128M'; |
170 |
$conf['activesync']['logging']['level'] = '1'; |
$conf['activesync']['logging']['level'] = '1'; |
171 |
$conf['activesync']['logging']['type'] = 'perdevice'; |
$conf['activesync']['logging']['type'] = 'perdevice'; |
172 |
HERE |
HERE |
|
diff -Nur smeserver-horde-1.0.0.old/root/etc/logrotate.d/horde smeserver-horde-1.0.0/root/etc/logrotate.d/horde |
|
|
--- smeserver-horde-1.0.0.old/root/etc/logrotate.d/horde 1969-12-31 19:00:00.000000000 -0500 |
|
|
+++ smeserver-horde-1.0.0/root/etc/logrotate.d/horde 2020-03-10 13:59:16.812000000 -0400 |
|
|
@@ -0,0 +1,10 @@ |
|
|
+/var/log/horde/*log { |
|
|
+ missingok |
|
|
+ notifempty |
|
|
+ sharedscripts |
|
|
+ delaycompress |
|
|
+ postrotate |
|
|
+ /bin/systemctl reload-or-restart php72-php-fpm.service > /dev/null 2>/dev/null || true |
|
|
+ endscript |
|
|
+} |
|
|
+ |
|