1 |
diff -Nur --no-dereference e-smith-proftpd-2.6.0.old/createlinks e-smith-proftpd-2.6.0/createlinks |
2 |
--- e-smith-proftpd-2.6.0.old/createlinks 2021-03-03 15:32:34.016000000 -0500 |
3 |
+++ e-smith-proftpd-2.6.0/createlinks 2021-03-03 16:10:57.338000000 -0500 |
4 |
@@ -72,7 +72,9 @@ |
5 |
|
6 |
my $event = 'e-smith-proftpd-update'; |
7 |
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/ftp"); |
8 |
+safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/rsyslog"); |
9 |
templates2events("/etc/systemd/system-preset/49-koozali.preset", $event); |
10 |
event_link("systemd-reload", $event, "89"); |
11 |
+templates2events("/etc/rsyslog.conf", $event); |
12 |
|
13 |
exit 0; |
14 |
diff -Nur --no-dereference e-smith-proftpd-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32proftpd e-smith-proftpd-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32proftpd |
15 |
--- e-smith-proftpd-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32proftpd 1969-12-31 19:00:00.000000000 -0500 |
16 |
+++ e-smith-proftpd-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32proftpd 2021-03-03 16:09:34.644000000 -0500 |
17 |
@@ -0,0 +1,6 @@ |
18 |
+ |
19 |
+#proftpd |
20 |
+if $programname == 'proftpd' and $syslogfacility-text == 'authpriv' then /var/log/secure |
21 |
+:programname, isequal, "proftpd" /var/log/proftpd/proftpd.log |
22 |
+& stop |
23 |
+ |