/[smeserver]/rpms/e-smith-runit/sme10/e-smith-runit-2.6.0-bz11088-beforenetwork.patch
ViewVC logotype

Contents of /rpms/e-smith-runit/sme10/e-smith-runit-2.6.0-bz11088-beforenetwork.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Mon Nov 9 03:32:33 2020 UTC (3 years, 11 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-runit-2_6_0-11_el7_sme, e-smith-runit-2_6_0-10_el7_sme, e-smith-runit-2_6_0-9_el7_sme, e-smith-runit-2_6_0-8_el7_sme, e-smith-runit-2_6_0-12_el7_sme, HEAD
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme
- run before network-pre.target [SME: 11088]

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed