From owner-freebsd-questions Tue Feb 29 6:38:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from email.aon.at (grazproxy2.highway.telekom.at [195.3.96.219]) by hub.freebsd.org (Postfix) with ESMTP id 5205737BAFE for ; Tue, 29 Feb 2000 06:38:15 -0800 (PST) (envelope-from coke@aon.at) Received: from pcgernot (N261P005.dipool.highway.telekom.at [212.183.32.133]) by email.aon.at (8.9.3/8.9.3) with ESMTP id PAA189004 for ; Tue, 29 Feb 2000 15:38:06 +0100 Message-ID: <001801bf82c2$adb8d0e0$03c8280a@pcgernot> From: "Coke" To: Subject: Starting mysqld as background daemon on startup Date: Tue, 29 Feb 2000 15:38:43 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi I installed the MySQL-Server and put the following line to /etc/rc.local : (I needed to create the file) /usr/local/libexec/mysqld --basedir=/usr/local --datadir=/usr/local/var --us er=root This line is working well but the sh-processes which load the /etc/rc and the /etc/rc.local files on startup are in the memory in the whole up-time of the machine. The autoboot script also stops execution with the rc.local script so the next autoloads aren't executed. So I want to load the mysqld as a background daemon... but I don't know how to do that. I know that there is a /usr/local/bin/daemon command but this is not installed on my machine... Is there another way to load that process in the background? btw /usr/local/libexec/mysqld --basedir=/usr/local --datadir=/usr/local/var --us er=root & doesn't work either. Please help me out! Thank you very much :) Regards Gernot To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message