pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/daemontools-run Add PREFIX/{sbin, bin} to PATH...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b38be6ded64c
branches:  trunk
changeset: 365913:b38be6ded64c
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sun Jul 30 05:45:22 2017 +0000

description:
Add PREFIX/{sbin,bin} to PATH, and don't hide diagnostics. Bump version.

diffstat:

 sysutils/daemontools-run/Makefile        |  4 ++--
 sysutils/daemontools-run/files/svscan.sh |  7 +++----
 2 files changed, 5 insertions(+), 6 deletions(-)

diffs (43 lines):

diff -r 993232539330 -r b38be6ded64c sysutils/daemontools-run/Makefile
--- a/sysutils/daemontools-run/Makefile Sun Jul 30 05:38:23 2017 +0000
+++ b/sysutils/daemontools-run/Makefile Sun Jul 30 05:45:22 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2017/07/27 04:10:30 schmonz Exp $
+# $NetBSD: Makefile,v 1.3 2017/07/30 05:45:22 schmonz Exp $
 #
 
-DISTNAME=              daemontools-run-20170727
+DISTNAME=              daemontools-run-20170730
 CATEGORIES=            sysutils
 MASTER_SITES=          # empty
 DISTFILES=             # empty
diff -r 993232539330 -r b38be6ded64c sysutils/daemontools-run/files/svscan.sh
--- a/sysutils/daemontools-run/files/svscan.sh  Sun Jul 30 05:38:23 2017 +0000
+++ b/sysutils/daemontools-run/files/svscan.sh  Sun Jul 30 05:45:22 2017 +0000
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: svscan.sh,v 1.1 2017/07/27 04:05:16 schmonz Exp $
+# $NetBSD: svscan.sh,v 1.2 2017/07/30 05:45:22 schmonz Exp $
 #
 # @PKGNAME@ script to control svscan (service supervisor).
 #
@@ -12,7 +12,7 @@
 name="svscan"
 
 # User-settable rc.conf variables and their default values:
-: ${svscan_postenv:="PATH=$PATH"}
+: ${svscan_postenv:="PATH=@PREFIX@/sbin:@PREFIX@/bin:$PATH"}
 : ${svscan_datalimit:="3000000"}
 : ${svscan_servicedir:="@VARBASE@/service"}
 : ${svscan_log:="YES"}
@@ -33,8 +33,7 @@
        if [ -f /etc/rc.subr ] && ! checkyesno svscan_log; then
                svscan_logcmd=${svscan_nologcmd}
        fi
-       command="exec </dev/null >/dev/null 2>/dev/null
-@PREFIX@/bin/pgrphack @SETENV@ - ${svscan_postenv}
+       command="@PREFIX@/bin/pgrphack @SETENV@ - ${svscan_postenv}
 @PREFIX@/bin/${name} ${svscan_servicedir}
 2>&1 |
 @PREFIX@/bin/pgrphack @PREFIX@/bin/setuidgid @DAEMONTOOLS_LOG_USER@ ${svscan_logcmd}"



Home | Main Index | Thread Index | Old Index