1 |
diff -Nur --no-dereference smeserver-mailman-1.5.0.old/createlinks smeserver-mailman-1.5.0/createlinks |
2 |
--- smeserver-mailman-1.5.0.old/createlinks 2022-04-10 12:33:34.976000000 -0400 |
3 |
+++ smeserver-mailman-1.5.0/createlinks 2022-04-10 16:20:19.108000000 -0400 |
4 |
@@ -55,8 +55,11 @@ |
5 |
# removed because cause signal-event and panel to hang |
6 |
# safe_symlink("restart", |
7 |
# "root/etc/e-smith/events/$event/services2adjust/mailman"); |
8 |
-safe_symlink("../actions/mailman-restart", |
9 |
- "root/etc/e-smith/events/$event/S94mailman-restart"); |
10 |
+safe_symlink("restart", |
11 |
+ "root/etc/e-smith/events/$event/services2adjust/mailman"); |
12 |
+ |
13 |
+#safe_symlink("../actions/mailman-restart", |
14 |
+# "root/etc/e-smith/events/$event/S94mailman-restart"); |
15 |
} |
16 |
|
17 |
|
18 |
@@ -74,6 +77,29 @@ |
19 |
|
20 |
} |
21 |
|
22 |
-service_link_enhanced('mailman', 'S98', '7'); |
23 |
-service_link_enhanced('mailman', 'K12', '6'); |
24 |
-service_link_enhanced('mailman', 'K12', '0'); |
25 |
+ |
26 |
+my $event= "smeserver-mailman-update"; |
27 |
+ |
28 |
+templates2events( "/etc/dar/DailyBackup.dcf", $event); |
29 |
+templates2events( "/usr/lib/mailman/Mailman/mm_cfg.py", $event); |
30 |
+templates2events( "/etc/httpd/conf/httpd.conf", $event); |
31 |
+templates2events("/var/qmail/users/assign", $event); |
32 |
+templates2events("/var/service/qpsmtpd/config/goodrcptto", $event); |
33 |
+ |
34 |
+safe_symlink("/usr/lib/mailman/bin/post-install", |
35 |
+ "root/etc/e-smith/events/$event/S20mailman-post-install"); |
36 |
+safe_symlink("/var/qmail/bin/qmail-newu", |
37 |
+ "root/etc/e-smith/events/$event/S55email-assign"); |
38 |
+#systemd-specific action mandatory for this package-update event |
39 |
+event_link("systemd-reload", $event, "89"); |
40 |
+event_link("systemd-default", $event, "88"); |
41 |
+ |
42 |
+safe_symlink("sigusr1", |
43 |
+ "root/etc/e-smith/events/$event/services2adjust/httpd-e-smith"); |
44 |
+safe_symlink("restart", |
45 |
+ "root/etc/e-smith/events/$event/services2adjust/mailman"); |
46 |
+safe_symlink("sighup", |
47 |
+ "root/etc/e-smith/events/$event/services2adjust/qpsmtpd"); |
48 |
+safe_symlink("sighup", |
49 |
+ "root/etc/e-smith/events/$event/services2adjust/sqpsmtpd"); |
50 |
+ |
51 |
diff -Nur --no-dereference smeserver-mailman-1.5.0.old/root/usr/lib/systemd/system/mailman.service.d/51koozali.conf smeserver-mailman-1.5.0/root/usr/lib/systemd/system/mailman.service.d/51koozali.conf |
52 |
--- smeserver-mailman-1.5.0.old/root/usr/lib/systemd/system/mailman.service.d/51koozali.conf 1969-12-31 19:00:00.000000000 -0500 |
53 |
+++ smeserver-mailman-1.5.0/root/usr/lib/systemd/system/mailman.service.d/51koozali.conf 2022-04-10 15:02:35.159000000 -0400 |
54 |
@@ -0,0 +1,2 @@ |
55 |
+[Install] |
56 |
+WantedBy=sme-server.target |