/[smeserver]/rpms/smeserver-horde/sme10/smeserver-horde-1.0.0-bz10872-enable-php-fpm.patch
ViewVC logotype

Diff of /rpms/smeserver-horde/sme10/smeserver-horde-1.0.0-bz10872-enable-php-fpm.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by jpp, Tue Mar 10 18:11:49 2020 UTC Revision 1.3 by jpp, Wed Mar 11 05:09:45 2020 UTC
# Line 48  diff -Nur smeserver-horde-1.0.0.old/root Line 48  diff -Nur smeserver-horde-1.0.0.old/root
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';
# Line 170  diff -Nur smeserver-horde-1.0.0.old/root Line 170  diff -Nur smeserver-horde-1.0.0.old/root
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  
 +}  
 +  


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed