From owner-freebsd-questions@FreeBSD.ORG Tue Nov 18 11:24:22 2008 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 8371F1065678 for ; Tue, 18 Nov 2008 11:24:22 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.237]) by mx1.freebsd.org (Postfix) with ESMTP id 5863C8FC1C for ; Tue, 18 Nov 2008 11:24:22 +0000 (UTC) (envelope-from valentin.bud@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2755218rvf.43 for ; Tue, 18 Nov 2008 03:24:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=get07yxicvUT0Q7I8lgkl9jO2sCPzrDtteWhbir2rUo=; b=FzbKgP0FaTKPGFufNPxp31kjUkvw4/eVW7gQS1msb/U3Oinv8bpXfNj7z4rEaWvqO8 PlKlQJNdumtB0OSZ5UeGT+Eb8YnuzUJqah3hKn2E4YSZn2sYfSnmJgzKAu7TtzjXhRSP 3sBMkK96OQ8uEDMOVA9b70Cl+BYsPNV9LN0aA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=K6ERS1+zKJEA7kiHwbxstkGpzeOJe8MY8O9Al2Ct6uqx8HrBufqs/FAWb83en6JWTj omxWTGV13wz1asyghXbtEhyyhpoYuD913KnNvTdNY5qTtxAWgcxg40AcCUATg+dv8UuJ +nb6tkVj1Z3256i1c5hZV/MXLbJKivNJJdLPc= Received: by 10.142.188.4 with SMTP id l4mr2540747wff.271.1227007461119; Tue, 18 Nov 2008 03:24:21 -0800 (PST) Received: by 10.142.180.17 with HTTP; Tue, 18 Nov 2008 03:24:21 -0800 (PST) Message-ID: <139b44430811180324u57b8c9d8k99e9cc275949bbf6@mail.gmail.com> Date: Tue, 18 Nov 2008 13:24:21 +0200 From: "Valentin Bud" To: bsd In-Reply-To: <1E519418-C8C4-4DD5-BFDC-F95158DA097E@todoo.biz> MIME-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1E519418-C8C4-4DD5-BFDC-F95158DA097E@todoo.biz> Cc: Liste FreeBSD Subject: Re: Delay startup of services in rc.conf || elswhere 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: Tue, 18 Nov 2008 11:24:22 -0000 Hello bsd, I once had a problem just like yours. I introduced at the end of the mysql startup script from /usr/local/etc/rc.d a "sleep 10" command and that did the trick. all the best, v On Tue, Nov 18, 2008 at 1:05 PM, bsd wrote: > Hello, > > > I have a server configured to start 10 services at startup (in /etc/rc.co= nf) > > Unfortunately, the startup of MySQL seems to be returning "ok" before It > actually has started completely the program=85 the next program rely on M= ySQL > and does not start well because the database is not "fully" started. > > I would like to introduce something like a "sleep 10" timer in the servic= e > startup process=85 > > > How can I do that? > > > =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF > Gregober ---> PGP ID --> 0x1BA3C2FD > bsd @at@ todoo.biz > =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF > > P "Please consider your environmental responsibility before printing this > e-mail" > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" >