1 |
diff -Nur e-smith-hosts-2.6.0.old/createlinks e-smith-hosts-2.6.0/createlinks |
2 |
--- e-smith-hosts-2.6.0.old/createlinks 2005-08-15 15:05:21.000000000 -0400 |
3 |
+++ e-smith-hosts-2.6.0/createlinks 2021-01-06 14:48:15.193000000 -0500 |
4 |
@@ -53,3 +53,17 @@ |
5 |
$event = "domain-delete"; |
6 |
|
7 |
event_link("purge-domain", $event, "04"); |
8 |
+ |
9 |
+#-------------------------------------------------- |
10 |
+# e-smith-hosts-update event |
11 |
+#-------------------------------------------------- |
12 |
+$event="e-smith-hosts-update"; |
13 |
+ |
14 |
+safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/dhcpd"); |
15 |
+safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/tinydns"); |
16 |
+safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/dnscache"); |
17 |
+event_link("conf-hostsdb", $event , "03"); |
18 |
+event_link("purge-domain", $event, "04"); |
19 |
+# systemd-specific action mandatory for this package-update event |
20 |
+event_link("systemd-reload", $event, "89"); |
21 |
+event_link("systemd-default", $event, "88"); |