1 |
diff -Nur e-smith-runit-2.6.0.old/createlinks e-smith-runit-2.6.0/createlinks |
2 |
--- e-smith-runit-2.6.0.old/createlinks 2020-11-08 22:26:54.546000000 -0500 |
3 |
+++ e-smith-runit-2.6.0/createlinks 2020-11-08 22:29:59.364000000 -0500 |
4 |
@@ -22,7 +22,7 @@ |
5 |
" $!"; |
6 |
} |
7 |
|
8 |
-foreach my $target (qw(multi-user sme-server)) |
9 |
+foreach my $target (qw(multi-user sme-server basic)) |
10 |
{ |
11 |
system('mkdir -p root/usr/lib/systemd/system/'.$target.'.target.wants/'); |
12 |
symlink("../runit.service", |
13 |
diff -Nur e-smith-runit-2.6.0.old/root/usr/lib/systemd/system/runit.service e-smith-runit-2.6.0/root/usr/lib/systemd/system/runit.service |
14 |
--- e-smith-runit-2.6.0.old/root/usr/lib/systemd/system/runit.service 2020-11-08 22:26:54.541000000 -0500 |
15 |
+++ e-smith-runit-2.6.0/root/usr/lib/systemd/system/runit.service 2020-11-08 22:29:34.542000000 -0500 |
16 |
@@ -11,4 +11,5 @@ |
17 |
TimeoutSec=0 |
18 |
|
19 |
[Install] |
20 |
-WantedBy=multi-user.target |
21 |
+WantedBy=multi-user.target sme-server.target |
22 |
+Before=multi-user.target sme-server.target network.target network-pre.target |