From owner-freebsd-questions@FreeBSD.ORG Sat Sep 10 04:55:16 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4056916A41F for ; Sat, 10 Sep 2005 04:55:16 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9ED743D46 for ; Sat, 10 Sep 2005 04:55:15 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j8A4tFiZ026309; Fri, 9 Sep 2005 23:55:15 -0500 (CDT) (envelope-from dan) Date: Fri, 9 Sep 2005 23:55:15 -0500 From: Dan Nelson To: John Do Message-ID: <20050910045514.GI84582@dan.emsphone.com> References: <20050909230711.59838.qmail@web35803.mail.mud.yahoo.com> <20050910040124.52388.qmail@web35811.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050910040124.52388.qmail@web35811.mail.mud.yahoo.com> X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.10i Cc: Miguel =?utf-8?Q?C=E2=96=80rdenas?= , freebsd-questions@freebsd.org Subject: Re: MYSQLD mysql-server for 5.2.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Sep 2005 04:55:16 -0000 In the last episode (Sep 10), John Do said: > Thanks Dan again > > That does work. > > The only bothering me is the fact that I had no idea where to look :) > > Also in Linux normally comands like mysqld can be run automatically > instead of running a .sh file You can run mysqld manually in FreeBSD, too. It's just cleaner if you use the startup script. > And the real confusing thing is that there is no chkconfig sort of > utility that automatically adds an entry. It's different for each OS. chkconfig doesn't take the same arguments on RedHat and SUSE, so there isn't even consistency within Linux. FreeBSD ports always install their scripts into /usr/local/etc/rc.d, and you can enable them by adding the appropriate xxx_enable=yes line to /etc/rc.conf. You can look at the startup script to see what keyword it uses. > I wouldn't have known what to add to rc.conf if you > didn't mention it. > > Did I do do something wrong or is there a way to make > FreeBSD packages like this do more configuration such > as automatic server/start enabling etc... It's documented in the Handbook at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-starting-services.html -- Dan Nelson dnelson@allantgroup.com