=== m1dnight1 is now known as m1dnight_ === m1dnight1 is now known as m1dnight_ [07:48] hi there. question from ancient history -- how would you check if a service is enabled without `show-config`? (upstart 0.6.5) [08:04] hmm a grep on `initctl list` might be way to go [10:53] define "enabled" [10:55] I guess anything that has a 'start on' stanza could be considered "enabled" [10:55] known to the system and "to be started on boot/should be running". yes, this is kind of what I settled with: https://github.com/chef/inspec/pull/419 (oops all my tests are red) [10:56] but even that would be muddy, as some services might have an on/off switch in /etc/default/* [10:56] etc. :) [10:57] and some that have a 'start on' stanza could possibly only be triggered by a manually issued event [10:57] I'm not a huge fan of "enabled" [10:57] :) [10:58] what does it tell you? the important question is if it's running. if you reboot the machine, your test run will tell you if it's running or not ;) [10:59] well, depending on your configuration, services might run only on certain conditions [10:59] hopefully those conditions are defined correctly :) [11:01] init systems can be quite complicated, be it sysvinit, upstart or systemd [11:01] or bsd init, really [11:02] mhm yup