=== fluter_ is now known as fluter | ||
xnox | jhford: probably nowhere, given I don't believe upstart as shipped in centos had stdout/stderr log collection feature. | 11:06 |
---|---|---|
pwelch | Hi everyone. Is it possble to get the status of all services that subscribe to an upstart command when running a status check? Example: service Bar subscribes to serivce Foo. When I run initctl status Foo Id like to see the status of service Bar as well | 13:35 |
xnox | pwelch: i'm not sure what you mean by "subscribes" | 13:40 |
xnox | pwelch: you can use $ initctl list | 13:40 |
xnox | pwelch: which gives you status for all known jobs. | 13:40 |
pwelch | so Service Bar has: start on starting Foo | 13:40 |
pwelch | so when Service Foo start Service Bar starts | 13:41 |
xnox | pwelch: there is $ inictl show-config | 13:41 |
xnox | pwelch: there is no command that combines/interconnects the two | 13:41 |
pwelch | :/ bummer | 13:42 |
pwelch | on Centos 6.5 I get initctl: invalid command: show-config | 13:42 |
xnox | pwelch: sorry, i don't know when it was introduced. | 13:42 |
pwelch | which is weird because upstart is for sure working | 13:42 |
pwelch | no worries | 13:42 |
xnox | e.g. i have | 13:42 |
xnox | $ initctl show-config unity8 | 13:42 |
xnox | unity8 | 13:42 |
xnox | emits scope-ui-starting | 13:42 |
xnox | emits indicator-services-start | 13:42 |
xnox | start on ((xsession SESSION=ubuntu-touch or xsession SESSION=ubuntu-touch-surfaceflinger) and started dbus) | 13:42 |
xnox | stop on desktop-end | 13:42 |
xnox | and then i can do status on each thing i want. | 13:43 |
pwelch | do you know which version of upstart you have? | 13:43 |
xnox | pwelch: and it's not "subsribes" in any way or form. All conditions are events. "e.g. starting foo" is event "starting" with args JOB=foo | 13:43 |
pwelch | ah | 13:44 |
xnox | pwelch: and there is no way to check if any of the events are emitted manually or actually are a job as such. | 13:44 |
xnox | pwelch: e.g. runlevel is not a job | 13:44 |
pwelch | that makes sense that its an event and not a subscription | 13:44 |
xnox | pwelch: i'm running upstart 1.13.1, you can check your version with $ initctl version | 13:45 |
pwelch | yikes, centos ships with an older version: init (upstart 0.6.5) | 13:45 |
pwelch | first time on CentOS in a long time. Looks like the default in 12.04 (what I normally use) is 1.5 | 13:46 |
pwelch | xnox: thanks for your help | 13:46 |
=== SpamapS_ is now known as SpamapS | ||
=== pwelch_ is now known as pwelch | ||
=== pwelch_ is now known as pwelch |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!