1 |
slords |
1.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 |
|
|
+} |