/[smeserver]/rpms/smeserver-yum/sme10/smeserver-yum-2.6.0-bz11180-yum-dbupdate-systemd.patch
ViewVC logotype

Diff of /rpms/smeserver-yum/sme10/smeserver-yum-2.6.0-bz11180-yum-dbupdate-systemd.patch

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

Revision 1.2 by jpp, Wed Dec 9 04:52:47 2020 UTC Revision 1.4 by jpp, Wed Dec 9 05:30:35 2020 UTC
# Line 1  Line 1 
1  diff -Nur smeserver-yum-2.6.0.old/createlinks smeserver-yum-2.6.0/createlinks  diff -Nur smeserver-yum-2.6.0.old/createlinks smeserver-yum-2.6.0/createlinks
2  --- smeserver-yum-2.6.0.old/createlinks 2020-12-08 22:55:14.254000000 -0500  --- smeserver-yum-2.6.0.old/createlinks 2020-12-08 22:55:14.254000000 -0500
3  +++ smeserver-yum-2.6.0/createlinks     2020-12-08 23:28:27.655000000 -0500  +++ smeserver-yum-2.6.0/createlinks     2020-12-08 23:28:27.655000000 -0500
4  @@ -21,18 +21,23 @@  @@ -21,18 +21,22 @@
5    
6   # yum-update-dbs is launched by smeserver yum plugin,   # yum-update-dbs is launched by smeserver yum plugin,
7   # it isnot needed anymore in install remove and update events   # it isnot needed anymore in install remove and update events
# Line 21  diff -Nur smeserver-yum-2.6.0.old/create Line 21  diff -Nur smeserver-yum-2.6.0.old/create
21    
22  -safe_symlink("once", "root/etc/e-smith/events/local/services2adjust/yum");  -safe_symlink("once", "root/etc/e-smith/events/local/services2adjust/yum");
23  +safe_symlink("restart", "root/etc/e-smith/events/local/services2adjust/yum");  +safe_symlink("restart", "root/etc/e-smith/events/local/services2adjust/yum");
 +safe_symlink("restart", "root/etc/e-smith/events/yum-modify/services2adjust/yum");  
24    
25  +my $event= "smeserver-yum-update";  +my $event= "smeserver-yum-update";
26  +# systemd-specific action mandatory for this package-update event  +# systemd-specific action mandatory for this package-update event
# Line 48  diff -Nur smeserver-yum-2.6.0.old/root/e Line 47  diff -Nur smeserver-yum-2.6.0.old/root/e
47   # /etc/e-smith/events/local/services2adjust/yum -> once   # /etc/e-smith/events/local/services2adjust/yum -> once
48   # but that never seems to terminate   # but that never seems to terminate
49  -exec /usr/local/bin/svc -o /service/yum  -exec /usr/local/bin/svc -o /service/yum
50  +exec /usr/bin/systemctl restart yum.service  +exec /usr/bin/systemctl restart yum.service &
51    
52  diff -Nur smeserver-yum-2.6.0.old/root/sbin/e-smith/check4updates smeserver-yum-2.6.0/root/sbin/e-smith/check4updates  diff -Nur smeserver-yum-2.6.0.old/root/sbin/e-smith/check4updates smeserver-yum-2.6.0/root/sbin/e-smith/check4updates
53  --- smeserver-yum-2.6.0.old/root/sbin/e-smith/check4updates     2020-12-08 22:55:14.233000000 -0500  --- smeserver-yum-2.6.0.old/root/sbin/e-smith/check4updates     2020-12-08 22:55:14.233000000 -0500
# Line 76  diff -Nur smeserver-yum-2.6.0.old/root/u Line 75  diff -Nur smeserver-yum-2.6.0.old/root/u
75  +ExecStart=/sbin/e-smith/yum_update_dbs  +ExecStart=/sbin/e-smith/yum_update_dbs
76  +RemainAfterExit=yes  +RemainAfterExit=yes
77  +  +
78  +[Install  +[Install]
79  +# do not install with sme-server.target, this service will be launched by others  +# do not install with sme-server.target, this service will be launched by others
80  +# including Koozali SME Server local.service  +# including Koozali SME Server local.service


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