From owner-freebsd-questions Wed Nov 21 15:23: 5 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mta07-svc.ntlworld.com (mta07-svc.ntlworld.com [62.253.162.47]) by hub.freebsd.org (Postfix) with ESMTP id F409137B405 for ; Wed, 21 Nov 2001 15:22:59 -0800 (PST) Received: from lungfish.ntlworld.com ([62.253.152.144]) by mta07-svc.ntlworld.com (InterMail vM.4.01.03.13 201-229-121-113) with ESMTP id <20011121232258.LOZY692.mta07-svc.ntlworld.com@lungfish.ntlworld.com>; Wed, 21 Nov 2001 23:22:58 +0000 Received: from boog.goatsucker.org (boog.goatsucker.org [192.168.1.3]) by lungfish.ntlworld.com (8.11.3/8.11.3) with ESMTP id fALNMun05777; Wed, 21 Nov 2001 23:22:56 GMT (envelope-from scott@boog.goatsucker.org) Received: (from scott@localhost) by boog.goatsucker.org (8.9.3/8.9.3) id XAA05411; Wed, 21 Nov 2001 23:22:26 GMT (envelope-from scott) Date: Wed, 21 Nov 2001 23:22:25 +0000 From: Scott Mitchell To: Jonathan Hilgeman Cc: "'freebsd-questions@freebsd.org'" Subject: Re: Starting a Process Without Tying Yourself To It Message-ID: <20011121232225.E307@localhost> References: <5D90F61EB6FDD411836500508B137F1AA3F071@mailsvr.ecx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <5D90F61EB6FDD411836500508B137F1AA3F071@mailsvr.ecx.com>; from JHilgeman@ecx.com on Wed, Nov 21, 2001 at 03:03:06PM -0800 X-Operating-System: FreeBSD 4.1-RELEASE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Nov 21, 2001 at 03:03:06PM -0800, Jonathan Hilgeman wrote: > I want to start the mySQL daemon, but I don't want to tie myself to that > process. > > I've tried: > /usr/local/mysql/bin/safe_mysqld > > And it just sits there after it starts. > > And I've tried: > /usr/local/mysql/bin/safe_mysqld & > > I can go back to the shell after that, but it seems to just be running as a > background job, still tied to me. > > How can I start it by itself and just let it keep running by itself (as if i > had rebooted and the system just started it)? Did you install it from the port (or package)? If so, /usr/local/etc/rc.d/mysql-server.sh start should do the trick. That script will also be run at boot time. Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott.mitchell@mail.com | 0xAA775B8B | -- Anon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message