54 |
+ |
+ |
55 |
+[Install] |
+[Install] |
56 |
+WantedBy=sme-server.target |
+WantedBy=sme-server.target |
57 |
|
diff -Nur e-smith-base-5.8.0.old/createlinks e-smith-base-5.8.0/createlinks |
58 |
|
--- e-smith-base-5.8.0.old/createlinks 2020-12-09 22:24:31.760000000 -0500 |
59 |
|
+++ e-smith-base-5.8.0/createlinks 2020-12-09 22:33:47.569000000 -0500 |
60 |
|
@@ -579,6 +579,7 @@ |
61 |
|
#-------------------------------------------------- |
62 |
|
|
63 |
|
$event = "local"; |
64 |
|
+safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/rc-local"); |
65 |
|
|
66 |
|
#-------------------------------------------------- |
67 |
|
# actions for ldap-update event |
68 |
|
diff -Nur e-smith-base-5.8.0.old/root/etc/e-smith/db/configuration/defaults/rc-local/status e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/rc-local/status |
69 |
|
--- e-smith-base-5.8.0.old/root/etc/e-smith/db/configuration/defaults/rc-local/status 1969-12-31 19:00:00.000000000 -0500 |
70 |
|
+++ e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/rc-local/status 2020-12-09 22:30:03.095000000 -0500 |
71 |
|
@@ -0,0 +1 @@ |
72 |
|
+enabled |
73 |
|
diff -Nur e-smith-base-5.8.0.old/root/etc/e-smith/db/configuration/defaults/rc-local/type e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/rc-local/type |
74 |
|
--- e-smith-base-5.8.0.old/root/etc/e-smith/db/configuration/defaults/rc-local/type 1969-12-31 19:00:00.000000000 -0500 |
75 |
|
+++ e-smith-base-5.8.0/root/etc/e-smith/db/configuration/defaults/rc-local/type 2020-12-09 22:29:53.888000000 -0500 |
76 |
|
@@ -0,0 +1 @@ |
77 |
|
+configuration |
78 |
|
diff -Nur e-smith-base-5.8.0.old/root/usr/lib/systemd/system/local.service e-smith-base-5.8.0/root/usr/lib/systemd/system/local.service |
79 |
|
--- e-smith-base-5.8.0.old/root/usr/lib/systemd/system/local.service 2020-12-09 22:24:31.778000000 -0500 |
80 |
|
+++ e-smith-base-5.8.0/root/usr/lib/systemd/system/local.service 2020-12-09 22:31:09.422000000 -0500 |
81 |
|
@@ -7,7 +7,6 @@ |
82 |
|
ExecStartPre=/sbin/e-smith/service-status local |
83 |
|
ExecStartPre=/usr/bin/chmod +x /etc/rc.d/rc.local |
84 |
|
ExecStart=/sbin/e-smith/signal-event local |
85 |
|
-ExecStart=/usr/bin/systemctl restart rc-local.service |
86 |
|
RemainAfterExit=yes |
87 |
|
|
88 |
|
[Install] |
89 |
|
diff -Nur e-smith-base-5.8.0.old/root/usr/lib/systemd/system-preset/50-koozali.preset e-smith-base-5.8.0/root/usr/lib/systemd/system-preset/50-koozali.preset |
90 |
|
--- e-smith-base-5.8.0.old/root/usr/lib/systemd/system-preset/50-koozali.preset 2020-12-09 22:24:31.756000000 -0500 |
91 |
|
+++ e-smith-base-5.8.0/root/usr/lib/systemd/system-preset/50-koozali.preset 2020-12-09 22:32:19.660000000 -0500 |
92 |
|
@@ -35,6 +35,8 @@ |
93 |
|
enable ldap.service |
94 |
|
enable ldap.init.service |
95 |
|
enable local.service |
96 |
|
+enable yum.service |
97 |
|
+disable rc-local.service |
98 |
|
|
99 |
|
#need to change after integration |
100 |
|
#enable mariadb.service |
101 |
|
@@ -65,7 +67,6 @@ |
102 |
|
disable squid.service |
103 |
|
disable sshd.service |
104 |
|
enable tinydns.service |
105 |
|
-enable wan.service |
106 |
|
disable nut-server.service |
107 |
|
disable nut-monitor.service |
108 |
|
disable ntpdate.service |