1 |
diff -Nur e-smith-base-5.8.0.old/createlinks e-smith-base-5.8.0/createlinks |
diff -Nur e-smith-base-5.8.0.old/createlinks e-smith-base-5.8.0/createlinks |
2 |
--- e-smith-base-5.8.0.old/createlinks 2020-11-11 21:39:57.056000000 -0500 |
--- e-smith-base-5.8.0.old/createlinks 2020-11-11 21:39:57.056000000 -0500 |
3 |
+++ e-smith-base-5.8.0/createlinks 2020-11-11 21:54:35.542000000 -0500 |
+++ e-smith-base-5.8.0/createlinks 2020-11-11 22:10:03.287000000 -0500 |
4 |
@@ -605,7 +605,6 @@ |
@@ -605,7 +605,6 @@ |
5 |
my %service2order = |
my %service2order = |
6 |
( |
( |
9 |
dhcpd => "65", |
dhcpd => "65", |
10 |
'local' => "99", |
'local' => "99", |
11 |
); |
); |
12 |
@@ -657,6 +656,7 @@ |
@@ -628,7 +627,6 @@ |
13 |
|
} |
14 |
|
|
15 |
|
# Set up links to daemontools. |
16 |
|
-safe_symlink("daemontools", "root/etc/rc.d/init.d/raidmonitor"); |
17 |
|
|
18 |
|
safe_symlink("run.dhclient", "root/var/service/wan/run.DHCPHostname"); |
19 |
|
safe_symlink("run.dhclient", "root/var/service/wan/run.DHCPEthernetAddress"); |
20 |
|
@@ -657,6 +655,7 @@ |
21 |
systemd-update-utmp-runlevel.service |
systemd-update-utmp-runlevel.service |
22 |
systemd-user-sessions.service |
systemd-user-sessions.service |
23 |
networking.service |
networking.service |
25 |
)) |
)) |
26 |
{ |
{ |
27 |
symlink("../$unit", |
symlink("../$unit", |
28 |
@@ -664,6 +664,8 @@ |
@@ -664,6 +663,8 @@ |
29 |
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: $!"; |
30 |
} |
} |
31 |
} |
} |
58 |
+#Koozali |
+#Koozali |
59 |
+ExecStartPre=/sbin/e-smith/service-status raidmonitor |
+ExecStartPre=/sbin/e-smith/service-status raidmonitor |
60 |
+ExecStartPre=/sbin/e-smith/systemd/mdmonitor-pre |
+ExecStartPre=/sbin/e-smith/systemd/mdmonitor-pre |
61 |
+ExecStart=/sbin/mdadm --monitor --scan --program /sbin/e-smith/mdevent --pid-file=/var/run/mdadm/mdadm.pid |
+ExecStart=/sbin/mdadm --monitor --scan --program /sbin/e-smith/mdevent -f --pid-file=/var/run/mdadm/mdadm.pid |
62 |
+ |
+ |
63 |
+[Install] |
+[Install] |
64 |
+Alias=raidmonitor.service |
+Alias=raidmonitor.service |