On Thu, 2012-02-23 at 07:24:20 +0100, Tollef Fog Heen wrote:
> ]] Tzafrir Cohen 
> > In sysv init scripts the daemon forks into the background. In upstrart
> > and systemd it doesn't have to (or shouldn't). (not) forking requires a
> > different command-line argument, normally. This leads to odd beasts such
> > as safe_mysqld.
> 
> You can just use the --background switch to start-stop-daemon with
> sysvinit scripts.

That'd be a terrible idea, --background implies that s-s-d cannot check
the daemon exit code on error, and that it does not know exactly when the
daemon finished initializing and is ready for operation, making startup
prone to race conditions.

regards,
guillem


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120224172449.gb18...@gaara.hadrons.org

Reply via email to