/[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.1 - (show annotations) (download)
Wed Mar 23 13:48:03 2016 UTC (8 years, 7 months ago) by unnilennium
Branch: MAIN
CVS Tags: e-smith-runit-2_6_0-3_el7_sme
* Wed Mar 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
- make runit work with systemd [SME: 9366]

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

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