:: Re: [DNG] starting mysql in backgro…
Pàgina inicial
Delete this message
Reply to this message
Autor: aitor
Data:  
A: dng
Assumpte: Re: [DNG] starting mysql in background ?
Hi again,

On 16/6/22 11:28, aitor wrote:
> On 16/6/22 9:40, Steve Litt wrote:
>> I don't know if this is a solution, but install runit as a process
>> supervisor, not as an init. Start it respawn from /etc/inittab, and
>> start mysqld and everything that depends on it's being up in runit.
>>
>> If you decide to do this, I can be of more help.
> Me too. Every service running in the foreground is a good candidate
> for runit process supervision. Moreover, it's a premise. There are some
> workarounds for background initialization though.


What Steve is suggesting is to start the daemon of mysql (mariadbd?)
in the foreground, but supervised by runit.

Aitor.