From owner-freebsd-hackers Sat Jun 16 21:20:45 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from wilma.widomaker.com (wilma.widomaker.com [204.17.220.5]) by hub.freebsd.org (Postfix) with ESMTP id F2B2937B401 for ; Sat, 16 Jun 2001 21:20:42 -0700 (PDT) (envelope-from shannon@widomaker.com) Received: from [206.246.249.178] (helo=escape.shannon.net) by wilma.widomaker.com with esmtp (Exim 3.22 #2) id 15BU3E-000CRJ-00 for freebsd-hackers@FreeBSD.ORG; Sun, 17 Jun 2001 00:20:41 -0400 Received: (from shannon@localhost) by escape.shannon.net (8.11.0/8.8.8) id f5H3xAY15081 for freebsd-hackers@FreeBSD.ORG; Sat, 16 Jun 2001 23:59:10 -0400 (EDT) Date: Sat, 16 Jun 2001 23:59:10 -0400 From: Shannon To: freebsd-hackers@FreeBSD.ORG Subject: Re: import NetBSD rc system Message-ID: <20010616235910.B14839@widomaker.com> Mail-Followup-To: freebsd-hackers@FreeBSD.ORG References: <3B29BB3F.2044B314@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B29BB3F.2044B314@mindspring.com>; from tlambert2@mindspring.com on Fri, Jun 15, 2001 at 12:37:35AM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Jun 15, 2001 at 12:37:35AM -0700, Terry Lambert wrote: > The thing that pisses me off most about the use of pid > files is that on any border device, you are generally > going to run at least two DNS servers (interior, exterior), > and will probably run two SMTP servers, and even two HTTP > servers and two inetd's. > > Putting everything in /var/run under the name of the > program gets to be dirt stupid real fast... As currently done, sure. But I don't see any huge obstacles in the way of extending the rc.d scripts to handle multiple invocations of a daemon, and keep track of them. Something similar to how multiple interfaces are configured would work, and a simple extension of ${DAEMIN}.pid would suffice for tracking them. If that gets too messy for you, then you probably have a custom setup anyway, and will be rolling your own. -- shannon@widomaker.com _________________________________________________ ______________________/ armchairrocketscientistgraffitiexenstentialist "And in billows of might swell the Saxons before her,-- Unite, oh unite! Or the billows burst o'er her!" -- Downfall of the Gael To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message