1 |
diff -urN e-smith-dnscache-2.6.0.old/createlinks e-smith-dnscache-2.6.0/createlinks |
2 |
--- e-smith-dnscache-2.6.0.old/createlinks 2020-11-19 09:57:37.000000000 +0400 |
3 |
+++ e-smith-dnscache-2.6.0/createlinks 2020-11-19 10:13:23.893000000 +0400 |
4 |
@@ -36,8 +36,17 @@ |
5 |
event_link("initialize-default-databases", "dns-update", "00"); |
6 |
event_link("initialize-default-databases", "domain-modify", "00"); |
7 |
|
8 |
+#-------------------------------------------------- |
9 |
+# other actions for e-smith-dnscache-update event |
10 |
+#-------------------------------------------------- |
11 |
+$event = "e-smith-dnscache-update"; |
12 |
+templates2events("/etc/systemd/system-preset/49-koozali.preset", $event); |
13 |
+event_link("systemd-reload", $event, "89"); |
14 |
+ |
15 |
+#-------------------------------------------------- |
16 |
safe_symlink("daemontools", "root/etc/rc.d/init.d/dnscache"); |
17 |
-service_link_enhanced("dnscache", "S55", "7"); |
18 |
+#service_link_enhanced("dnscache", "S55", "7"); |
19 |
service_link_enhanced("dnscache", "K65", "6"); |
20 |
service_link_enhanced("dnscache", "K65", "0"); |
21 |
service_link_enhanced("dnscache", "K65", "1"); |
22 |
+ |