--- rpms/e-smith-oidentd/sme10/e-smith-oidentd-2.6.0-bz11095-systemd.patch 2020/11/11 22:26:41 1.1 +++ rpms/e-smith-oidentd/sme10/e-smith-oidentd-2.6.0-bz11095-systemd.patch 2020/11/11 23:04:38 1.2 @@ -1,7 +1,7 @@ diff -Nur e-smith-oidentd-2.6.0.old/createlinks e-smith-oidentd-2.6.0/createlinks --- e-smith-oidentd-2.6.0.old/createlinks 2006-03-15 14:59:23.000000000 -0500 -+++ e-smith-oidentd-2.6.0/createlinks 2020-11-11 17:15:21.429000000 -0500 -@@ -2,9 +2,35 @@ ++++ e-smith-oidentd-2.6.0/createlinks 2020-11-11 17:29:50.479000000 -0500 +@@ -2,9 +2,37 @@ use esmith::Build::CreateLinks qw(:all); @@ -22,10 +22,13 @@ diff -Nur e-smith-oidentd-2.6.0.old/crea + e-smith-oidentd-update)); + +#service restart -+#my $service = "e-smith-oidentd-update"; ++my $event = "e-smith-oidentd-update"; +##will restart only if already running +#safe_symlink("try-restart", "root/etc/e-smith/events/$event/services2adjust/oidentd"); + ++event_link("systemd-default", $event, "05"); ++event_link("systemd-reload", $event, "94"); ++ +#systemd link +foreach my $target (qw(multi-user sme-server)) +{ @@ -39,7 +42,6 @@ diff -Nur e-smith-oidentd-2.6.0.old/crea +# or die "Can't symlink to root/usr/lib/systemd/system/$target.target.wants/$unit: $!"; + } +} -+ 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 --- 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/root/etc/e-smith/templates/etc/sysconfig/oidentd/50options 2020-11-11 16:53:31.212000000 -0500