/[smeserver]/rpms/e-smith-hosts/sme10/e-smith-hosts-2.6.0-bz11138-update.patch
ViewVC logotype

Contents of /rpms/e-smith-hosts/sme10/e-smith-hosts-2.6.0-bz11138-update.patch

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


Revision 1.1 - (show annotations) (download)
Wed Jan 6 19:54:15 2021 UTC (3 years, 9 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-hosts-2_6_0-6_el7_sme, HEAD
* Wed Jan 06 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-6.sme
- add update event [SME: 11138]

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");

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