9 |
diff -Nur --no-dereference e-smith-cvm-unix-local-2.6.0.old/root/etc/logrotate.d/cvm e-smith-cvm-unix-local-2.6.0/root/etc/logrotate.d/cvm |
diff -Nur --no-dereference e-smith-cvm-unix-local-2.6.0.old/root/etc/logrotate.d/cvm e-smith-cvm-unix-local-2.6.0/root/etc/logrotate.d/cvm |
10 |
--- e-smith-cvm-unix-local-2.6.0.old/root/etc/logrotate.d/cvm 1969-12-31 19:00:00.000000000 -0500 |
--- e-smith-cvm-unix-local-2.6.0.old/root/etc/logrotate.d/cvm 1969-12-31 19:00:00.000000000 -0500 |
11 |
+++ e-smith-cvm-unix-local-2.6.0/root/etc/logrotate.d/cvm 2022-02-17 23:03:28.150000000 -0500 |
+++ e-smith-cvm-unix-local-2.6.0/root/etc/logrotate.d/cvm 2022-02-17 23:03:28.150000000 -0500 |
12 |
@@ -0,0 +1,12 @@ |
@@ -0,0 +1,13 @@ |
13 |
+/var/log/cvm/*.log { |
+/var/log/cvm/*.log { |
14 |
+ create 640 root root |
+ create 640 root root |
15 |
+ notifempty |
+ notifempty |
17 |
+ rotate 28 |
+ rotate 28 |
18 |
+ missingok |
+ missingok |
19 |
+ compress |
+ compress |
20 |
|
+ delaycompress |
21 |
+ postrotate |
+ postrotate |
22 |
+ /usr/bin/systemctl restart cvm-unix |
+ /usr/bin/systemctl restart cvm-unix |
23 |
+ endscript |
+ endscript |
24 |
+} |
+} |
25 |
+ |
+ |
26 |
|
diff -Nur --no-dereference e-smith-cvm-unix-local-2.6.0.old/createlinks e-smith-cvm-unix-local-2.6.0/createlinks |
27 |
|
--- e-smith-cvm-unix-local-2.6.0.old/createlinks 2022-02-18 22:05:57.804000000 -0500 |
28 |
|
+++ e-smith-cvm-unix-local-2.6.0/createlinks 2022-02-18 22:07:57.751000000 -0500 |
29 |
|
@@ -12,3 +12,5 @@ |
30 |
|
event_link("systemd-reload", $event, "89"); |
31 |
|
event_link("systemd-default", $event, "88"); |
32 |
|
templates2events("/etc/systemd/system-preset/49-koozali.preset",$event); |
33 |
|
+templates2events("/etc/rsyslog.conf",$event); |
34 |
|
+safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/rsyslog"); |