Cookbook does not describe starting services with multiple dependencies
Bug #1199732 reported by
Tomasz Rydzyński
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Upstart Cookbook |
New
|
Undecided
|
Unassigned |
Bug Description
Note: it's an improvement, not a bug.
I'm migrating my init.d script to an upstart job. After reading the cookbook, the only problem I've encountered was dealing with multiple dependencies.
My service should run at all times, but it needs mysql and dbus. So actually it should only start when both are running, and stop/restart when one of those is stopped/restarted.
I've managed to come up with a configuration that is good enough for me, but I would appreciate if the cookbook presented a "canonical" example of such setup. If this is not possible, a proposed workaround would be nice.
Thanks
To post a comment you must log in.