1 |
diff -Nur e-smith-oidentd-2.6.0.old/createlinks e-smith-oidentd-2.6.0/createlinks |
diff -Nur e-smith-oidentd-2.6.0.old/createlinks e-smith-oidentd-2.6.0/createlinks |
2 |
--- e-smith-oidentd-2.6.0.old/createlinks 2006-03-15 14:59:23.000000000 -0500 |
--- e-smith-oidentd-2.6.0.old/createlinks 2006-03-15 14:59:23.000000000 -0500 |
3 |
+++ e-smith-oidentd-2.6.0/createlinks 2020-11-11 17:15:21.429000000 -0500 |
+++ e-smith-oidentd-2.6.0/createlinks 2020-11-11 17:29:50.479000000 -0500 |
4 |
@@ -2,9 +2,35 @@ |
@@ -2,9 +2,37 @@ |
5 |
|
|
6 |
use esmith::Build::CreateLinks qw(:all); |
use esmith::Build::CreateLinks qw(:all); |
7 |
|
|
22 |
+ e-smith-oidentd-update)); |
+ e-smith-oidentd-update)); |
23 |
+ |
+ |
24 |
+#service restart |
+#service restart |
25 |
+#my $service = "e-smith-oidentd-update"; |
+my $event = "e-smith-oidentd-update"; |
26 |
+##will restart only if already running |
+##will restart only if already running |
27 |
+#safe_symlink("try-restart", "root/etc/e-smith/events/$event/services2adjust/oidentd"); |
+#safe_symlink("try-restart", "root/etc/e-smith/events/$event/services2adjust/oidentd"); |
28 |
+ |
+ |
29 |
|
+event_link("systemd-default", $event, "05"); |
30 |
|
+event_link("systemd-reload", $event, "94"); |
31 |
|
+ |
32 |
+#systemd link |
+#systemd link |
33 |
+foreach my $target (qw(multi-user sme-server)) |
+foreach my $target (qw(multi-user sme-server)) |
34 |
+{ |
+{ |
42 |
+# or die "Can't symlink to root/usr/lib/systemd/system/$target.target.wants/$unit: $!"; |
+# or die "Can't symlink to root/usr/lib/systemd/system/$target.target.wants/$unit: $!"; |
43 |
+ } |
+ } |
44 |
+} |
+} |
|
+ |
|
45 |
diff -Nur e-smith-oidentd-2.6.0.old/root/etc/e-smith/templates/etc/sysconfig/oidentd/50options e-smith-oidentd-2.6.0/root/etc/e-smith/templates/etc/sysconfig/oidentd/50options |
diff -Nur e-smith-oidentd-2.6.0.old/root/etc/e-smith/templates/etc/sysconfig/oidentd/50options e-smith-oidentd-2.6.0/root/etc/e-smith/templates/etc/sysconfig/oidentd/50options |
46 |
--- e-smith-oidentd-2.6.0.old/root/etc/e-smith/templates/etc/sysconfig/oidentd/50options 1969-12-31 19:00:00.000000000 -0500 |
--- e-smith-oidentd-2.6.0.old/root/etc/e-smith/templates/etc/sysconfig/oidentd/50options 1969-12-31 19:00:00.000000000 -0500 |
47 |
+++ e-smith-oidentd-2.6.0/root/etc/e-smith/templates/etc/sysconfig/oidentd/50options 2020-11-11 16:53:31.212000000 -0500 |
+++ e-smith-oidentd-2.6.0/root/etc/e-smith/templates/etc/sysconfig/oidentd/50options 2020-11-11 16:53:31.212000000 -0500 |