Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2022 10:55:28 +0200
From:      Axel Rau <Axel.Rau@chaos1.de>
To:        Eugene Grosbein <eugen@grosbein.net>, freebsd-hackers@freebsd.org
Subject:   Re: rc script to let a service wait for db available
Message-ID:  <dd303c84-9f54-78a5-16e2-81d32f2033d3@Chaos1.DE>
In-Reply-To: <c17abf27-0997-5627-b9c8-98a76d8946a3@grosbein.net>
References:  <f6201772-d124-a08f-3623-25f1a6190faf@Chaos1.DE> <c17abf27-0997-5627-b9c8-98a76d8946a3@grosbein.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dd303c84-9f54-78a5-16e2-81d32f2033d3>