/[smeserver]/rpms/e-smith-apache/sme10/e-smith-apache-2.6.0-bz11867.patch
ViewVC logotype

Diff of /rpms/e-smith-apache/sme10/e-smith-apache-2.6.0-bz11867.patch

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

Revision 1.1 by jpp, Sat Feb 19 03:54:20 2022 UTC Revision 1.5 by jpp, Sat Apr 16 06:08:08 2022 UTC
# Line 14  diff -Nur --no-dereference e-smith-apach Line 14  diff -Nur --no-dereference e-smith-apach
14   $event = "ssl-update";   $event = "ssl-update";
15   templates2events("/etc/httpd/conf/httpd.conf", $event);   templates2events("/etc/httpd/conf/httpd.conf", $event);
16  -safe_symlink("reload", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith");  -safe_symlink("reload", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith");
17  +isafe_symlink("reload", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith");  +safe_symlink("reload", "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith");
18  +  +
19  +#--------------------------------------------------  +#--------------------------------------------------
20  +# actions for post-install event  +# actions for post-install event
# Line 57  diff -Nur --no-dereference e-smith-apach Line 57  diff -Nur --no-dereference e-smith-apach
57  +    missingok  +    missingok
58  +    notifempty  +    notifempty
59  +    sharedscripts  +    sharedscripts
60  +    rotate  {$httpd-e-smith{'KeepNumberLog'} || $rsyslog{'KeepNumber'} || 10 }  +    rotate  {${'httpd-e-smith'}{'KeepNumberLog'} || $rsyslog{'KeepNumber'} || 10 }
61  +    maxsize {$httpd-e-smith{'MaxSizeLog'} || $rsyslog{'MaxSize'} || "100M";}  +    maxsize {${'httpd-e-smith'}{'MaxSizeLog'} || $rsyslog{'MaxSize'} || "100M";}
62  +    maxage {$httpd-e-smith{'PurgeLengthLog'} || $rsyslog{'PurgeLength'} || 95;}  +    maxage {${'httpd-e-smith'}{'PurgeLengthLog'} || $rsyslog{'PurgeLength'} || 95;}
63  +    { $OUT = "compress " unless ( ($httpd-e-smith{'CompressLog'} || "disabled") eq "disabled" );}  +    { $OUT = "#default compress see logrotate.conf" ; $OUT = "compress " unless ( (${'httpd-e-smith'}{'CompressLog'} || "disabled") eq "disabled" );}
64  +    delaycompress  +    delaycompress
65  +    postrotate  +    postrotate
66  +        /bin/systemctl restart httpd-*.service > /dev/null 2>/dev/null || true  +        /bin/systemctl restart httpd-*.service > /dev/null 2>/dev/null || true


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