/[smeserver]/rpms/e-smith-oidentd/sme10/e-smith-oidentd-2.6.0-bz11095-systemd.patch
ViewVC logotype

Diff of /rpms/e-smith-oidentd/sme10/e-smith-oidentd-2.6.0-bz11095-systemd.patch

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

Revision 1.1 by jpp, Wed Nov 11 22:26:41 2020 UTC Revision 1.2 by jpp, Wed Nov 11 23:04:38 2020 UTC
# Line 1  Line 1 
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    
# Line 22  diff -Nur e-smith-oidentd-2.6.0.old/crea Line 22  diff -Nur e-smith-oidentd-2.6.0.old/crea
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  +{  +{
# Line 39  diff -Nur e-smith-oidentd-2.6.0.old/crea Line 42  diff -Nur e-smith-oidentd-2.6.0.old/crea
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


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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