/[smeserver]/rpms/e-smith-tinydns/sme10/e-smith-tinydns-2.6.0-rc7_link-rpm_update.patch
ViewVC logotype

Contents of /rpms/e-smith-tinydns/sme10/e-smith-tinydns-2.6.0-rc7_link-rpm_update.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Fri Dec 4 03:11:50 2020 UTC (3 years, 10 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-tinydns-2_6_0-7_el7_sme, e-smith-tinydns-2_6_0-6_el7_sme, e-smith-tinydns-2_6_0-9_el7_sme, e-smith-tinydns-2_6_0-5_el7_sme, e-smith-tinydns-2_6_0-8_el7_sme, HEAD
Changes since 1.1: +1 -1 lines
* Thu Dec 03 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme
- execute systemd-reload before service adjust in events [SME: 11228]

1 diff -urN e-smith-tinydns-2.6.0.old/createlinks e-smith-tinydns-2.6.0/createlinks
2 --- e-smith-tinydns-2.6.0.old/createlinks 2020-11-18 16:09:39.000000000 +0400
3 +++ e-smith-tinydns-2.6.0/createlinks 2020-11-19 09:42:50.874000000 +0400
4 @@ -19,14 +19,24 @@
5 ));
6 }
7
8 +#--------------------------------------------------
9 +# actions for ip-change event
10 +#--------------------------------------------------
11 my $event = "ip-change";
12 safe_symlink("sigusr2", "root/etc/e-smith/events/$event/services2adjust/tinydns");
13
14 +#--------------------------------------------------
15 +# actions for e-smith-tinydns-update event
16 +#--------------------------------------------------
17 $event = "e-smith-tinydns-update";
18 -safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/tinydns");
19 +safe_symlink("try-restart", "root/etc/e-smith/events/$event/services2adjust/tinydns");
20 +templates2events("/etc/systemd/system-preset/49-koozali.preset", $event);
21 +event_link("systemd-reload", $event, "89");
22 +event_link("reset-unsavedflag", $event, "95");
23
24 +#--------------------------------------------------
25 safe_symlink("daemontools", "root/etc/rc.d/init.d/tinydns");
26 -service_link_enhanced("tinydns", "S55", "7");
27 +#service_link_enhanced("tinydns", "S55", "7");
28 service_link_enhanced("tinydns", "K65", "6");
29 service_link_enhanced("tinydns", "K65", "0");
30 service_link_enhanced("tinydns", "K65", "1");

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed