I've started an upstart service using the command sudo start myservice
. I want a way so that later, I (or anyone) can check if the service is up and running. What would the command be to check that?
Found the answer:
sudo initctl list | grep servicename