[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: upstart: please update to latest upstream version

On Thu, Feb 23, 2012 at 11:58:08AM +0100, Goswin von Brederlow wrote:

> Upstart also does not support Should-Start which makes it impossible to
> provide corect init scripts for a number of services. For example autofs
> will not work if it uses nis because nis is not started before
> autofs. Due to the lack of Should-Start the only way to get nis to start
> before autofs would require autofs to depends on nis.

The way to express this in upstart is to declare nis 'start on starting
autofs or runlevel [2345]'.  The relationship is written in the opposite
direction compared with LSB init scripts, but is no less flexible.

There are some other behavior quirks to upstart that often result in some
extra shell scripting in cases like this, which is certainly not optimal;
but it's certainly not correct to say that it's *impossible* to do this with

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature

Reply to: