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

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

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


Revision 1.2 - (show annotations) (download)
Sun Mar 27 18:38:44 2016 UTC (8 years, 8 months ago) by unnilennium
Branch: MAIN
CVS Tags: e-smith-runit-2_6_0-11_el7_sme, e-smith-runit-2_6_0-6_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, e-smith-runit-2_6_0-7_el7_sme, e-smith-runit-2_6_0-4_el7_sme, e-smith-runit-2_6_0-5_el7_sme, HEAD
Changes since 1.1: +13 -10 lines
* Sun Mar 27 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme
- fix typo in patch [SME: 9366]

1 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
2 --- e-smith-runit-2.6.0.old/root/usr/lib/systemd/system/runit.service 1969-12-31 19:00:00.000000000 -0500
3 +++ e-smith-runit-2.6.0/root/usr/lib/systemd/system/runit.service 2016-03-23 09:36:00.468000000 -0400
4 @@ -0,0 +1,14 @@
5 +[Unit]
6 +Description=Process Supervising Daemon
7 +After=getty.target
8 +
9 +[Service]
10 +Type=simple
11 +User=root
12 +Group=root
13 +Restart=always
14 +ExecStart=/etc/runit/2
15 +TimeoutSec=0
16 +
17 +[Install]
18 +WantedBy=multi-user.target
19 diff -Nur e-smith-runit-2.6.0.old/createlinks e-smith-runit-2.6.0/createlinks
20 --- e-smith-runit-2.6.0.old/createlinks 2002-06-05 16:46:14.000000000 -0400
21 +++ e-smith-runit-2.6.0/createlinks 2016-03-27 14:21:12.386000000 -0400
22 @@ -21,3 +21,9 @@
23 or die "Can't symlink to root/etc/e-smith/events/${event}/S${level}${action}:".
24 " $!";
25 }
26 +
27 +system('mkdir -p root/usr/lib/systemd/system/multi-user.target.wants/');
28 + unlink "root/usr/lib/systemd/system/multi-user.target.wants/runit.service";
29 +symlink("/usr/lib/systemd/system/runit.service",
30 + "root/usr/lib/systemd/system/multi-user.target.wants/runit.service")
31 + or die "Can't symlink to root/usr/lib/systemd/system/multi-user.target.wants/runit.service: $!";

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