/[smeserver]/rpms/e-smith-apache/sme7/e-smith-apache-1.2.0-logrotate.patch
ViewVC logotype

Contents of /rpms/e-smith-apache/sme7/e-smith-apache-1.2.0-logrotate.patch

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


Revision 1.2 - (show annotations) (download)
Tue Oct 7 16:49:14 2008 UTC (15 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Remove patches

1 diff -Nur -x '*.orig' -x '*.rej' e-smith-apache-1.2.0/createlinks mezzanine_patched_e-smith-apache-1.2.0/createlinks
2 --- e-smith-apache-1.2.0/createlinks 2006-03-14 09:47:18.000000000 -0700
3 +++ mezzanine_patched_e-smith-apache-1.2.0/createlinks 2007-01-19 07:49:25.000000000 -0700
4 @@ -162,3 +162,15 @@
5 service_link_enhanced("httpd-e-smith", "S86", "7");
6 service_link_enhanced("httpd-e-smith", "K15", "6");
7 service_link_enhanced("httpd-e-smith", "K15", "0");
8 +
9 +# Set up generic logfile timestamp renaming/symlinking
10 +
11 +foreach (qw(
12 + /var/log/httpd/error_log
13 + /var/log/httpd/access_log
14 + ))
15 +{
16 + safe_touch "root/etc/e-smith/events/logrotate/logfiles2timestamp/$_";
17 + safe_touch "root/etc/e-smith/events/post-install/logfiles2timestamp/$_";
18 + safe_touch "root/etc/e-smith/events/post-upgrade/logfiles2timestamp/$_";
19 +}

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