aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2018-03-15 04:07:19 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2018-03-15 04:07:19 +0000
commit8b36e2a46eeea05a6250071a3493d4863872c3b4 (patch)
treedca3c3b56914ede37205e352ca9c63e892cca973 /sysutils
parent8b76678f62fc7ff2fc3b6d2daa85faced27a7eb1 (diff)
downloadports-8b36e2a46eeea05a6250071a3493d4863872c3b4.tar.gz
ports-8b36e2a46eeea05a6250071a3493d4863872c3b4.zip
sysutils/runit-faster: Fix PATH in the runsvdir rc script
Match how we set it in stage 2 when using runit as PID 1
Notes
Notes: svn path=/head/; revision=464555
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/runit-faster/Makefile1
-rw-r--r--sysutils/runit-faster/files/runsvdir.in2
2 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/runit-faster/Makefile b/sysutils/runit-faster/Makefile
index e45dba712d97..6c4f66e820c9 100644
--- a/sysutils/runit-faster/Makefile
+++ b/sysutils/runit-faster/Makefile
@@ -5,6 +5,7 @@ PORTNAME= runit
DISTVERSION= ${RUNITVERSION}-${CONFVERSION}
RUNITVERSION= 2.1.2
CONFVERSION= 0.1.16
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://smarden.org/runit/ \
http://www.bayofrum.net/dist/runit/ \
diff --git a/sysutils/runit-faster/files/runsvdir.in b/sysutils/runit-faster/files/runsvdir.in
index e2a09fa5e0ec..2be64c893112 100644
--- a/sysutils/runit-faster/files/runsvdir.in
+++ b/sysutils/runit-faster/files/runsvdir.in
@@ -30,7 +30,7 @@ runsvdir_start()
{
/bin/test -d ${runsvdir_path} || /bin/mkdir -p ${runsvdir_path}
/usr/bin/env -i \
- PATH=/command:%%PREFIX%%/sbin:%%PREFIX%%/bin:/sbin:/bin:/usr/sbin:/usr/bin \
+ PATH=/bin:/sbin:/usr/bin:/usr/sbin:%%PREFIX%%/bin:%%PREFIX%%/sbin:/rescue \
/usr/sbin/daemon -c -f \
${command} ${runsvdir_path}
}