misc: should be able to generate dependency relation diagrams for jobs
Bug #203417 reported by
John Dong
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
upstart |
Fix Released
|
Wishlist
|
James Hunt |
Bug Description
While writing upstart jobs for my system, I found at times the best logic debugging tool was to have Graphviz plot out the dependency diagram of my bootup. Right now I'm just rudimentarily parsing the "start on" condition but that in itself has let me spot obvious errors in my logic that looking through flat textfiles could not reveal.
I think Upstart should come with some sort of ability to print out its job dependency information.
For reference, here's my example Python script that takes in a path to event.d and generates a dotfile:
http://
And its output:
http://
Changed in upstart: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in upstart: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
This will be easier with the move to a "while"-based syntax