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 |