1 |
diff -ruN e-smith-runit-2.4.0.old/root/etc/e-smith/templates/etc/inittab/15runsvdir e-smith-runit-2.4.0/root/etc/e-smith/templates/etc/inittab/15runsvdir |
2 |
--- e-smith-runit-2.4.0.old/root/etc/e-smith/templates/etc/inittab/15runsvdir 2013-01-29 23:30:44.000000000 -0800 |
3 |
+++ e-smith-runit-2.4.0/root/etc/e-smith/templates/etc/inittab/15runsvdir 1969-12-31 16:00:00.000000000 -0800 |
4 |
@@ -1 +0,0 @@ |
5 |
-sv:7:respawn:/etc/runit/2 |
6 |
diff -ruN e-smith-runit-2.4.0.old/root/etc/init/runit.conf e-smith-runit-2.4.0/root/etc/init/runit.conf |
7 |
--- e-smith-runit-2.4.0.old/root/etc/init/runit.conf 1969-12-31 16:00:00.000000000 -0800 |
8 |
+++ e-smith-runit-2.4.0/root/etc/init/runit.conf 2013-01-30 18:13:44.000000000 -0800 |
9 |
@@ -0,0 +1,14 @@ |
10 |
+# runit - start runit supervisors |
11 |
+# |
12 |
+# This task runs the runit start script, which runs runsvdir |
13 |
+ |
14 |
+start on runlevel [345] |
15 |
+ |
16 |
+stop on runlevel [!$RUNLEVEL] |
17 |
+ |
18 |
+task |
19 |
+ |
20 |
+export RUNLEVEL |
21 |
+console output |
22 |
+exec /etc/runit/2 $RUNLEVEL |
23 |
+ |