1 |
jpp |
1.1 |
diff -Nur e-smith-samba-2.6.0.old/createlinks e-smith-samba-2.6.0/createlinks |
2 |
|
|
--- e-smith-samba-2.6.0.old/createlinks 2021-02-21 23:43:42.417000000 -0500 |
3 |
|
|
+++ e-smith-samba-2.6.0/createlinks 2021-02-21 23:49:54.782000000 -0500 |
4 |
|
|
@@ -119,3 +119,5 @@ |
5 |
|
|
# systemd-specific action mandatory for this package-update event |
6 |
|
|
event_link("systemd-reload", $event, "89"); |
7 |
|
|
event_link("systemd-default", $event, "88"); |
8 |
|
|
+templates2events("/etc/rsyslog.conf",$event); |
9 |
|
|
+safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/rsyslog"); |
10 |
|
|
diff -Nur e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32samba e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32samba |
11 |
|
|
--- e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32samba 1969-12-31 19:00:00.000000000 -0500 |
12 |
|
|
+++ e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32samba 2021-02-21 23:45:02.140000000 -0500 |
13 |
|
|
@@ -0,0 +1,9 @@ |
14 |
|
|
+ |
15 |
|
|
+#smbd |
16 |
|
|
+:programname, isequal, "smbd" /var/log/smbd/smbd.log |
17 |
jpp |
1.2 |
+& stop |
18 |
jpp |
1.1 |
+ |
19 |
|
|
+#nmbd |
20 |
|
|
+:programname, isequal, "nmbd" /var/log/nmbd/nmbd.log |
21 |
jpp |
1.2 |
+& stop |
22 |
jpp |
1.1 |
+ |
23 |
|
|
diff -Nur e-smith-samba-2.6.0.old/root/etc/logrotate.d/samba-sme e-smith-samba-2.6.0/root/etc/logrotate.d/samba-sme |
24 |
|
|
--- e-smith-samba-2.6.0.old/root/etc/logrotate.d/samba-sme 1969-12-31 19:00:00.000000000 -0500 |
25 |
|
|
+++ e-smith-samba-2.6.0/root/etc/logrotate.d/samba-sme 2021-02-21 23:47:31.081000000 -0500 |
26 |
|
|
@@ -0,0 +1,8 @@ |
27 |
|
|
+/var/log/nmbd/nmbd.log /var/log/smbd/smbd.log { |
28 |
|
|
+ notifempty |
29 |
|
|
+ olddir /var/log/samba/old |
30 |
|
|
+ missingok |
31 |
|
|
+ sharedscripts |
32 |
|
|
+ copytruncate |
33 |
|
|
+} |
34 |
|
|
+ |