1 |
jpp |
1.1 |
diff -Nur smeserver-xinetd-0.3.old/createlinks smeserver-xinetd-0.3/createlinks |
2 |
|
|
--- smeserver-xinetd-0.3.old/createlinks 2008-04-18 09:52:20.000000000 -0400 |
3 |
|
|
+++ smeserver-xinetd-0.3/createlinks 2021-02-23 21:21:27.454000000 -0500 |
4 |
|
|
@@ -2,10 +2,15 @@ |
5 |
|
|
|
6 |
|
|
use esmith::Build::CreateLinks qw(:all); |
7 |
|
|
|
8 |
|
|
-# config sane |
9 |
|
|
foreach (qw(/etc/xinetd.conf)) { |
10 |
|
|
templates2events($_, qw(remoteaccess-update bootstrap-console-save)); |
11 |
|
|
} |
12 |
|
|
|
13 |
|
|
safe_symlink("reload", "root/etc/e-smith/events/remoteaccess-update/services2adjust/xinetd"); |
14 |
|
|
-service_link_enhanced("xinetd", "S56", "7"); |
15 |
|
|
+ |
16 |
|
|
+$event="smeserver-xinetd-update"; |
17 |
|
|
+templates2events('/etc/xinetd.conf',$event); |
18 |
|
|
+safe_symlink("reload", "root/etc/e-smith/events/$event/services2adjust/xinetd"); |
19 |
|
|
+#systemd-specific action mandatory for this package-update event |
20 |
|
|
+event_link("systemd-reload", $event, "89"); |
21 |
|
|
+event_link("systemd-default", $event, "88"); |
22 |
|
|
diff -Nur smeserver-xinetd-0.3.old/root/usr/lib/systemd/system/xinetd.service.d/49-koozali.conf smeserver-xinetd-0.3/root/usr/lib/systemd/system/xinetd.service.d/49-koozali.conf |
23 |
|
|
--- smeserver-xinetd-0.3.old/root/usr/lib/systemd/system/xinetd.service.d/49-koozali.conf 1969-12-31 19:00:00.000000000 -0500 |
24 |
|
|
+++ smeserver-xinetd-0.3/root/usr/lib/systemd/system/xinetd.service.d/49-koozali.conf 2021-02-23 21:00:52.833000000 -0500 |
25 |
|
|
@@ -0,0 +1,2 @@ |
26 |
|
|
+[Install] |
27 |
|
|
+WantedBy=sme-server.target |