:: Re: [DNG] starting mysql in backgro…
Inizio della pagina
Delete this message
Reply to this message
Autore: Simon
Data:  
To: Devuan ML
Oggetto: Re: [DNG] starting mysql in background ?
Radisson via Dng <dng@???> wrote:

> i use sysv-init with a simple start script in init.d.
> in the end the script starts mysqld_safe in background and
> waits for a pid. (yes i could remove that but i do not know the side
> effects)


The side effect of removing that wait for a PID is that any other service that depends on the database will be started before the database is actually running.
If you don’t actually have any other services that depend on the database then it’s not a problem - you’ll just have to know not to try and run user programs needing it until it’s up. If you do have such services, then you’d need to delay their startup - and then you’re back to the system sitting there waiting for the database to be running.

Simon