Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 2004 23:08:29 +0900 (JST)
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        roam@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   Re: rcNG-fy sysutils/daemontools
Message-ID:  <200406301408.i5UE8NGf044132@sakura.ninth-nine.com>
In-Reply-To: <20040629205443.638a0b27.nork@FreeBSD.org>
References:  <20040620070446.21a599c7.nork@FreeBSD.org> <20040622183550.GI46866@hal9000.halplant.com> <20040624151543.5cadaf83.nork@FreeBSD.org> <20040625162008.GC51175@hal9000.halplant.com> <20040629205443.638a0b27.nork@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi roam!

	Please update daemontools with following patch:-).

- - - - - - - -
Change /bin/sh to /usr/sbin/daemon

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/sysutils/daemontools/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile	28 Jun 2004 23:56:18 -0000	1.16
+++ Makefile	30 Jun 2004 14:02:28 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	daemontools
 PORTVERSION=	0.76
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	sysutils
 MASTER_SITES=	http://cr.yp.to/daemontools/ \
 		ftp://cr.yp.to/daemontools/
Index: files/svscan.sh.sample
===================================================================
RCS file: /home/ncvs/ports/sysutils/daemontools/files/svscan.sh.sample,v
retrieving revision 1.5
diff -u -r1.5 svscan.sh.sample
--- files/svscan.sh.sample	28 Jun 2004 23:56:18 -0000	1.5
+++ files/svscan.sh.sample	30 Jun 2004 14:01:22 -0000
@@ -62,7 +62,7 @@
 svscan_start () {
 	/usr/bin/env \
 	PATH=%%PREFIX%%/sbin:%%PREFIX%%/bin:/usr/sbin:/usr/bin:/sbin:/bin \
-	/bin/sh -c "$command $svscan_servicedir 2>&1 | %%PREFIX%%/bin/readproctitle service errors: ................................................................................................................................................................................................................................................................................................................................................................................................................ &" > /dev/null
+	/usr/sbin/daemon -f "$command $svscan_servicedir | %%PREFIX%%/bin/readproctitle service errors: ................................................................................................................................................................................................................................................................................................................................................................................................................ 2>&1 &"
 }
 
 svscan_stop_post () {
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406301408.i5UE8NGf044132>