Anthony Towns <a...@erisian.com.au> writes: > I think this would be most analogous to the "complex conditions" bit, > where you'd say
> start on Y and Q > so that it will only be started when event "Q" happens if "Y" has also > already happened. I don't see how you'd prevent it from being manually > started without a prescript checking for Y though, but I'm not entirely > sure if that bothers me -- if I'm manually telling it to start a daemon, > that's configured not to automatically start some thing it needs, do I > care that much if I get an error from upstart or the daemon itself? That depends on whether you think you'll ever want to have a job that won't be able to detect its own prerequisites and might just do something harmful if started without its prerequisites instead of exiting with an error. But agreed, that's probably relatively rare, and upstart *does* offer a way to represent that via a pre-start shell condition. -- Russ Allbery (r...@debian.org) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to debian-ctte-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87ob398a8m....@windlord.stanford.edu