1 |
jpp |
1.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 2021-01-03 01:03:40.781000000 -0500 |
3 |
|
|
+++ e-smith-runit-2.6.0/createlinks 2021-01-03 01:11:13.683000000 -0500 |
4 |
|
|
@@ -22,10 +22,14 @@ |
5 |
|
|
" $!"; |
6 |
|
|
} |
7 |
|
|
|
8 |
|
|
-foreach my $target (qw(multi-user sme-server basic)) |
9 |
|
|
+foreach my $target (qw(basic)) |
10 |
|
|
{ |
11 |
|
|
system('mkdir -p root/usr/lib/systemd/system/'.$target.'.target.wants/'); |
12 |
|
|
symlink("../runit.service", |
13 |
|
|
"root/usr/lib/systemd/system/$target.target.wants/runit.service") |
14 |
|
|
or die "Can't symlink to root/usr/lib/systemd/system/$target.target.wants/runit.service: $!"; |
15 |
|
|
} |
16 |
|
|
+my $event="e-smith-runit-update"; |
17 |
|
|
+event_link("systemd-reload", $event, "89"); |
18 |
|
|
+event_link("systemd-default", $event, "88"); |
19 |
|
|
+safe_symlink("start", "root/etc/e-smith/events/$event/services2adjust/runit"); |
20 |
|
|
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 |
21 |
|
|
--- e-smith-runit-2.6.0.old/root/usr/lib/systemd/system/runit.service 2021-01-03 01:03:40.784000000 -0500 |
22 |
|
|
+++ e-smith-runit-2.6.0/root/usr/lib/systemd/system/runit.service 2021-01-03 01:11:50.454000000 -0500 |
23 |
|
|
@@ -12,4 +12,4 @@ |
24 |
|
|
TimeoutSec=0 |
25 |
|
|
|
26 |
|
|
[Install] |
27 |
|
|
-WantedBy=multi-user.target sme-server.target |
28 |
|
|
+WantedBy=basic.target |