Re: upstart: please update to latest upstream version
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.