diff -Nur e-smith-samba-2.6.0.old/createlinks e-smith-samba-2.6.0/createlinks --- e-smith-samba-2.6.0.old/createlinks 2021-02-21 23:43:42.417000000 -0500 +++ e-smith-samba-2.6.0/createlinks 2021-02-21 23:49:54.782000000 -0500 @@ -119,3 +119,5 @@ # systemd-specific action mandatory for this package-update event event_link("systemd-reload", $event, "89"); event_link("systemd-default", $event, "88"); +templates2events("/etc/rsyslog.conf",$event); +safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/rsyslog"); 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 --- e-smith-samba-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32samba 1969-12-31 19:00:00.000000000 -0500 +++ e-smith-samba-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32samba 2021-02-21 23:45:02.140000000 -0500 @@ -0,0 +1,9 @@ + +#smbd +:programname, isequal, "smbd" /var/log/smbd/smbd.log +& stop + +#nmbd +:programname, isequal, "nmbd" /var/log/nmbd/nmbd.log +& stop + 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 --- e-smith-samba-2.6.0.old/root/etc/logrotate.d/samba-sme 1969-12-31 19:00:00.000000000 -0500 +++ e-smith-samba-2.6.0/root/etc/logrotate.d/samba-sme 2021-02-21 23:47:31.081000000 -0500 @@ -0,0 +1,8 @@ +/var/log/nmbd/nmbd.log /var/log/smbd/smbd.log { + notifempty + olddir /var/log/samba/old + missingok + sharedscripts + copytruncate +} +