How to find if a service is using Upstart or init.d script?

Asked by koolhead17

I would like to know if there is a way to see which method a service uses Upstart or init.d script

i tried apt-cache showpkg

No luck. Answer would be appreciated.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu upstart Edit question
Assignee:
No assignee Edit question
Solved by:
koolhead17
Solved:
Last query:
Last reply:
Revision history for this message
Sam_ (and-sam) said :
#1
Revision history for this message
koolhead17 (koolhead17) said :
#2

Hi Sam,
Thanks for the manual.
So what i understood from this is, the easiest way would be :--

$ ls /etc/init | grep <service>
<service>.conf

This makes you find its a upstart job. :)

$ ls /etc/init | grep mysql
mysql.conf