From nobody Thu Apr 28 08:55:28 2022 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6C0AD1AB1219 for ; Thu, 28 Apr 2022 08:55:32 +0000 (UTC) (envelope-from Axel.Rau@Chaos1.DE) Received: from mailout5.lrau.net (mailout5.lrau.net [IPv6:2a05:bec0:26:5::73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mailout5.lrau.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KpqFv37cGz4q6h for ; Thu, 28 Apr 2022 08:55:31 +0000 (UTC) (envelope-from Axel.Rau@Chaos1.DE) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=chaos1.de; s=email1; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:To:Subject:Mime-Version:Date:Message-Id:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=DZh141oTBQ7I7MxPOVdVY+jcgcE+LQ6beq5CGkhXHlM=; b=qzy2nnyzRe5UsDOtvdZqxVTe3T tUegPL4elUHQ8YLjTOoiuIK+ywNZLhtDv/Hj02zJLQw+4ub6Ks6cSiB1wFPWnfQPmLeHvB6CJLxcA 3VHHKkr7aXxBRHazpfcBTADL5l7e+mNhwNp99KlyYJaWwmGlEit5Oq74aTJXtMk63WluojoU0N4xa rhxkt77GxIROPc/lAgQI6T6num6IQu4pHGSbn2pkedZphj4qnrSFpNBSthe5vzm4nMN8ycnUTTsb6 PvBUeDEHY7J5giNOceWTv+tYqeSE1vGlBKsapOlSB3zgy9meivboZ0N4im9nyxMOklhu975qIScHF dGMK8bag==; Received: from [2a05:bec0:26:5::74] (helo=imap5.lrau.net) by mailout5.lrau.net with esmtp (Exim 4.95 (FreeBSD)) (envelope-from ) id 1njzvu-000Oa5-81; Thu, 28 Apr 2022 08:55:30 +0000 Received: from Axel.Rau@Chaos1.DE by imap5.lrau.net (Archiveopteryx 3.2.0) with esmtpsa id 1651136129-83503-82811/7/4; Thu, 28 Apr 2022 08:55:29 +0000 Message-Id: Date: Thu, 28 Apr 2022 10:55:28 +0200 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Mime-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: rc script to let a service wait for db available Content-Language: de-DE To: Eugene Grosbein , freebsd-hackers@freebsd.org References: From: Axel Rau In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4KpqFv37cGz4q6h X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=chaos1.de header.s=email1 header.b=qzy2nnyz; dmarc=none; spf=none (mx1.freebsd.org: domain of Axel.Rau@Chaos1.DE has no SPF policy when checking 2a05:bec0:26:5::73) smtp.mailfrom=Axel.Rau@Chaos1.DE X-Spamd-Result: default: False [-2.90 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[chaos1.de:s=email1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[chaos1.de]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[chaos1.de:+]; RCPT_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[chaos1.de:dkim]; MLMMJ_DEST(0.00)[freebsd-hackers]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:197071, ipnet:2a05:bec0::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[2a05:bec0:26:5::73:from] X-ThisMailContainsUnwantedMimeParts: N Am 27.04.22 um 16:37 schrieb Eugene Grosbein: >=20 > You need to place '&' outside of double-quotes. > But better use daemon(8) command instead of '&' > because daemon does better job ignoring signals etc. > and that may be important if wait time extends past point when system = goes to multiuser mode. Ah - yes. Now it calls the script in the background, but there is still=20 an issue. It does not start the server, as it does while calling from the command=20 line. I will investigate daemon(8). Thanks a lot, Axel =2D-=20 PGP-Key: CDE74120 =E2=98=80 computing @ chaos claudius