aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/runit/runit/0005-patch-etc-runit-2-for-FHS.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/runit/runit/0005-patch-etc-runit-2-for-FHS.patch')
-rw-r--r--meta/recipes-core/runit/runit/0005-patch-etc-runit-2-for-FHS.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-core/runit/runit/0005-patch-etc-runit-2-for-FHS.patch b/meta/recipes-core/runit/runit/0005-patch-etc-runit-2-for-FHS.patch
new file mode 100644
index 0000000000..8bcfe8801c
--- /dev/null
+++ b/meta/recipes-core/runit/runit/0005-patch-etc-runit-2-for-FHS.patch
@@ -0,0 +1,17 @@
+Description: Make /etc/runit/2 respect FHS
+ On Debian system services directory is /etc/service, not /service.
+Author: Dmitry Bogatov <KAction@gnu.org>
+Last-Update: 2016-05-31
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/runit-2.1.2/etc/2
++++ b/runit-2.1.2/etc/2
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+
+-PATH=/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
++PATH=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
+
+ exec env - PATH=$PATH \
+-runsvdir -P /service 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................'
++runsvdir -P /etc/service 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................'