1 |
diff -Nur --no-dereference smeserver-geoip-1.2.old/createlinks smeserver-geoip-1.2/createlinks |
2 |
--- smeserver-geoip-1.2.old/createlinks 2021-03-13 23:17:54.004000000 -0500 |
3 |
+++ smeserver-geoip-1.2/createlinks 2021-03-13 23:46:09.094000000 -0500 |
4 |
@@ -25,11 +25,14 @@ |
5 |
{ |
6 |
templates2events("$_", qw( |
7 |
geoip-update |
8 |
+ smeserver-geoip-update |
9 |
)); |
10 |
} |
11 |
|
12 |
event_link("smeserver-geopip-download-action", $event, "10"); |
13 |
|
14 |
+event_link("smeserver-geopip-download-action", 'smeserver-geoip-update', "10"); |
15 |
+ |
16 |
#-------------------------------------------------- |
17 |
# actions for email-update event |
18 |
#-------------------------------------------------- |
19 |
@@ -59,6 +62,7 @@ |
20 |
)); |
21 |
} |
22 |
|
23 |
- |
24 |
+event_services('smeserver-geoip-update', 'qpsmtpd' => 'restart', 'sqpsmtpd' => 'restart') |
25 |
|
26 |
safe_symlink("../../plugins/18check_badcountries", "root//etc/e-smith/templates/var/service/qpsmtpd/config/peers/0/18check_badcountries"); |
27 |
+ |