From owner-freebsd-questions@FreeBSD.ORG Mon Aug 24 21:54:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7ED381065690 for ; Mon, 24 Aug 2009 21:54:28 +0000 (UTC) (envelope-from prvs=48067dc8c=pschmehl_lists@tx.rr.com) Received: from ip-relay-002.utdallas.edu (ip-relay-002.utdallas.edu [129.110.20.112]) by mx1.freebsd.org (Postfix) with ESMTP id 0F5AE8FC18 for ; Mon, 24 Aug 2009 21:54:27 +0000 (UTC) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.44,267,1249275600"; d="scan'208";a="15405301" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-002.utdallas.edu with ESMTP; 24 Aug 2009 16:25:02 -0500 Received: from utd65257.utdallas.edu (utd65257.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTPSA id 89B664E6FE; Mon, 24 Aug 2009 16:25:02 -0500 (CDT) Date: Mon, 24 Aug 2009 21:25:02 +0000 From: Paul Schmehl To: John Almberg , freebsd-questions@freebsd.org Message-ID: <79AB78CC17E87799F705E68E@utd65257.utdallas.edu> In-Reply-To: <87C694DA-8C7F-4DC2-A1B4-6C38542D14D9@identry.com> References: <87C694DA-8C7F-4DC2-A1B4-6C38542D14D9@identry.com> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: Newbie discovers two useful apps... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Aug 2009 21:54:28 -0000 --On Monday, August 24, 2009 15:45:16 -0500 John Almberg wrote: > > 2. DJB Daemontools: http://thedjbway.org/daemontools.html > [snip] > > Anyway, I dimly remembered this and dug into the DJB docs. Some will > wonder why I found it easier to read a DJB doc than to read how to > write a rc.d script... An excellent question, but in 5 minutes, I had > my rubycas-server running under daemontools. It is that easy. I still > don't know how to write an rc.d script, but I have to believe it > would take me more than 5 minutes to learn and write. If you have > daemons running, that you started manually from the command line, and > are just hoping you'll remember to re-start them the next time you > reboot, you should really check out daemontools... > > Much better than putting a reminder in your MOD (Me??? I would never > do that!!!) > John, I have tried to convert linux startups scripts over to rc.d scripts for some of my ports. Frankly, it's easier to start from scratch. In some cases it's barely possible at all, especially when the software was written for Linux with no consideration at all for other unix platforms. This particular tip will save a lot of people a lot of grief, I can assure you. Thanks for sharing it. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson