9 |
event_link("rotate_timestamped_logfiles", $event, "05"); |
event_link("rotate_timestamped_logfiles", $event, "05"); |
10 |
event_link("init-accounts", $event, "05"); |
event_link("init-accounts", $event, "05"); |
11 |
event_link("set-hostname", $event, "10"); |
event_link("set-hostname", $event, "10"); |
12 |
@@ -320,7 +321,8 @@ |
@@ -320,7 +321,9 @@ |
13 |
event_link("conf-modules", $event, "30"); |
event_link("conf-modules", $event, "30"); |
14 |
event_link("create-mnt-floppy", $event, "50"); |
event_link("create-mnt-floppy", $event, "50"); |
15 |
event_link("conf-routes", $event, "89"); |
event_link("conf-routes", $event, "89"); |
16 |
-event_link("reset-unsavedflag", $event, "95") |
-event_link("reset-unsavedflag", $event, "95") |
17 |
+event_link("systemd-isolate", $event, "94"); |
+event_link("systemd-isolate", $event, "94"); |
18 |
+event_link("reset-unsavedflag", $event, "95";) |
+event_link("reset-unsavedflag", $event, "95"); |
19 |
|
|
20 |
|
+safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/network"); |
21 |
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/wan"); |
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/wan"); |
22 |
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/dhcpd"); |
safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/dhcpd"); |
23 |
@@ -333,6 +335,7 @@ |
@@ -333,6 +335,7 @@ |
101 |
+ systemd-user-sessions.service |
+ systemd-user-sessions.service |
102 |
+ )) |
+ )) |
103 |
+ { |
+ { |
104 |
+ symlink("../bootstrap-console.service", |
+ symlink("../$unit", |
105 |
+ "root/usr/lib/systemd/system/$target.target.wants/$unit") |
+ "root/usr/lib/systemd/system/$target.target.wants/$unit") |
106 |
+ 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: $!"; |
107 |
+ } |
+ } |
121 |
diff -Nur e-smith-base-5.8.0.old/root/etc/e-smith/events/actions/systemd-isolate e-smith-base-5.8.0/root/etc/e-smith/events/actions/systemd-isolate |
diff -Nur e-smith-base-5.8.0.old/root/etc/e-smith/events/actions/systemd-isolate e-smith-base-5.8.0/root/etc/e-smith/events/actions/systemd-isolate |
122 |
--- e-smith-base-5.8.0.old/root/etc/e-smith/events/actions/systemd-isolate 1969-12-31 19:00:00.000000000 -0500 |
--- e-smith-base-5.8.0.old/root/etc/e-smith/events/actions/systemd-isolate 1969-12-31 19:00:00.000000000 -0500 |
123 |
+++ e-smith-base-5.8.0/root/etc/e-smith/events/actions/systemd-isolate 2020-09-30 16:13:55.794000000 -0400 |
+++ e-smith-base-5.8.0/root/etc/e-smith/events/actions/systemd-isolate 2020-09-30 16:13:55.794000000 -0400 |
124 |
@@ -0,0 +1,2 @@ |
@@ -0,0 +1,3 @@ |
125 |
+#!/usr/bin/bash |
+#!/usr/bin/bash |
126 |
+/usr/bin/systemctl isolate sme-server.target |
+/usr/bin/systemctl isolate sme-server.target |
127 |
|
+/usr/bin/systemctl daemon-reload |
128 |
diff -Nur e-smith-base-5.8.0.old/root/usr/lib/systemd/system/sme-server.target e-smith-base-5.8.0/root/usr/lib/systemd/system/sme-server.target |
diff -Nur e-smith-base-5.8.0.old/root/usr/lib/systemd/system/sme-server.target e-smith-base-5.8.0/root/usr/lib/systemd/system/sme-server.target |
129 |
--- e-smith-base-5.8.0.old/root/usr/lib/systemd/system/sme-server.target 1969-12-31 19:00:00.000000000 -0500 |
--- e-smith-base-5.8.0.old/root/usr/lib/systemd/system/sme-server.target 1969-12-31 19:00:00.000000000 -0500 |
130 |
+++ e-smith-base-5.8.0/root/usr/lib/systemd/system/sme-server.target 2020-09-30 15:33:14.457000000 -0400 |
+++ e-smith-base-5.8.0/root/usr/lib/systemd/system/sme-server.target 2020-09-30 15:33:14.457000000 -0400 |
131 |
@@ -0,0 +1,10 @@ |
@@ -0,0 +1,11 @@ |
132 |
+# This file is part of Koozali SME Server. |
+# This file is part of Koozali SME Server. |
133 |
+# |
+# |
134 |
+ |
+ |
135 |
+[Unit] |
+[Unit] |
136 |
+Description=Koozali SME Server System |
+Description=Koozali SME Server System |
137 |
+Documentation=man:systemd.special(7) |
+Documentation=man:systemd.special(7) |
138 |
+Requires=basic.target getty.target nfs-client.target remote-fs.target |
+Requires=basic.target |
139 |
+Conflicts=rescue.service rescue.target multi-user.target |
+Conflicts=rescue.service rescue.target multi-user.target |
140 |
+After=basic.target rescue.service rescue.target |
+After=basic.target rescue.service rescue.target |
141 |
+AllowIsolate=yes |
+AllowIsolate=yes |
142 |
|
+Wants=acpid.service atd.service auditd.service avahi-daemon.service brandbot.path crond.service irqbalance.service nfs-client.target remote-fs.target rhel-configure.service rsyslog.service smartd.service yum-cron.service |
143 |
|
diff -Nur e-smith-base-5.8.0.old/root/sbin/e-smith/service e-smith-base-5.8.0/root/sbin/e-smith/service |
144 |
|
--- e-smith-base-5.8.0.old/root/sbin/e-smith/service 2020-10-01 11:15:37.118000000 -0400 |
145 |
|
+++ e-smith-base-5.8.0/root/sbin/e-smith/service 2020-10-01 11:21:11.608000000 -0400 |
146 |
|
@@ -15,7 +15,7 @@ |
147 |
|
exit |
148 |
|
fi |
149 |
|
|
150 |
|
-if [ "$runlevel" = "multi-user.target" ] |
151 |
|
+if [ "$runlevel" = "multi-user.target" ] || [ "$runlevel" = "sme-server.target" ] |
152 |
|
then |
153 |
|
if ls /etc/rc7.d/S??$1 >/dev/null 2>/dev/null |
154 |
|
then |