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 |
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 |
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 |