From owner-cvs-ports@FreeBSD.ORG Mon Jul 26 12:48:44 2004 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DC00216A4CE; Mon, 26 Jul 2004 12:48:44 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D67E643D1F; Mon, 26 Jul 2004 12:48:44 +0000 (GMT) (envelope-from roam@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i6QCmijF083800; Mon, 26 Jul 2004 12:48:44 GMT (envelope-from roam@repoman.freebsd.org) Received: (from roam@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i6QCmi6u083799; Mon, 26 Jul 2004 12:48:44 GMT (envelope-from roam) Message-Id: <200407261248.i6QCmi6u083799@repoman.freebsd.org> From: Peter Pentchev Date: Mon, 26 Jul 2004 12:48:44 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: ports/sysutils/daemontools Makefile ports/sysutils/daemontools/files svscan.sh.sample X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jul 2004 12:48:45 -0000 roam 2004-07-26 12:48:44 UTC FreeBSD ports repository Modified files: sysutils/daemontools Makefile sysutils/daemontools/files svscan.sh.sample Log: - make this script work with the New World Order in /etc/rc.d/localpkg, where the config files may have been loaded already and our load_rc_config invocation may do nothing: thus, we need to honor any previously set value of svscan_enable; - for some reason svscan_stop_post() does not like the IFS-like vars set by rc.subr and localpkg; use find/xargs instead of having the shell parse its own output; - dequote COMMENT; - fix the daemon(8)-ization by moving 2>&1 to its proper place, so that the errors from svscan are actually picked up by readproctitle, as explained in <20040630175050.GD979@straylight.m.ringlet.net>; - move the 'Starting svscan' message to its proper place, so that the PATH set by env(1) affects svscan, not the echo command :) Revision Changes Path 1.18 +2 -2 ports/sysutils/daemontools/Makefile 1.8 +6 -6 ports/sysutils/daemontools/files/svscan.sh.sample