summary refs log tree commit diff
path: root/etc
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2002-09-23 10:14:47 +0000
committerGerrit Pape <pape@smarden.org>2002-09-23 10:14:47 +0000
commit6c547431bdf02e4514bbf74c31e1f599e5e4bdcc (patch)
treeb646a8df45b656f9caf8cf2c082a36b4b7780b82 /etc
parent7aef323f749e96b290afde337762f7cafff17c41 (diff)
downloadrunit-6c547431bdf02e4514bbf74c31e1f599e5e4bdcc.tar.gz
runit-6c547431bdf02e4514bbf74c31e1f599e5e4bdcc.tar.xz
runit-6c547431bdf02e4514bbf74c31e1f599e5e4bdcc.zip
stage 2 adapt.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/debian/212
-rwxr-xr-xetc/freebsd/212
-rwxr-xr-xetc/openbsd/212
3 files changed, 33 insertions, 3 deletions
diff --git a/etc/debian/2 b/etc/debian/2
index 9966e42..04c63d2 100755
--- a/etc/debian/2
+++ b/etc/debian/2
@@ -1,2 +1,12 @@
 #!/bin/sh
-exec /command/svscanboot
+
+PATH=/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
+
+exec </dev/null
+exec >/dev/null
+exec 2>/dev/null
+
+/command/svc -x /service/*
+
+exec env - PATH=$PATH \
+runsvdir /service log:_...........................................................................................................................................................................................................................................................................................................................................................................................................
diff --git a/etc/freebsd/2 b/etc/freebsd/2
index 9966e42..04c63d2 100755
--- a/etc/freebsd/2
+++ b/etc/freebsd/2
@@ -1,2 +1,12 @@
 #!/bin/sh
-exec /command/svscanboot
+
+PATH=/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
+
+exec </dev/null
+exec >/dev/null
+exec 2>/dev/null
+
+/command/svc -x /service/*
+
+exec env - PATH=$PATH \
+runsvdir /service log:_...........................................................................................................................................................................................................................................................................................................................................................................................................
diff --git a/etc/openbsd/2 b/etc/openbsd/2
index 9966e42..04c63d2 100755
--- a/etc/openbsd/2
+++ b/etc/openbsd/2
@@ -1,2 +1,12 @@
 #!/bin/sh
-exec /command/svscanboot
+
+PATH=/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
+
+exec </dev/null
+exec >/dev/null
+exec 2>/dev/null
+
+/command/svc -x /service/*
+
+exec env - PATH=$PATH \
+runsvdir /service log:_...........................................................................................................................................................................................................................................................................................................................................................................................................