Tuesday, May 7, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 3095  / 3 Years ago, sat, august 21, 2021, 12:25:54

I'd like to be able to debug the execution order of the jobs started by Upstart (ideally without injecting dumping code into every job file). How can I do this?


More From » upstart

 Answers
0

Boot your system adding '--debug' to the grub command line, and once the system has booted, look at your system log file (for example '/var/log/syslog' on modern versions of Ubuntu). This will give you information on events emitted and jobs changing state. Here's an example of the format:



http://upstart.ubuntu.com/cookbook/#if-job-is-not-currently-running



See also:



http://upstart.ubuntu.com/cookbook/#debugging


[#39642] Sunday, August 22, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eryeath

Total Points: 122
Total Questions: 121
Total Answers: 112

Location: Saint Helena
Member since Fri, Aug 26, 2022
2 Years ago
;