...
Code Block | ||
---|---|---|
| ||
dpkg - l | grep -i upstart |
Service Management
Upstart is moving towards being the official service management utility. So not all services are yet converted to upstart. However, for the ones that are, it is very easy to use.
Warning |
---|
I'm still filling this out. |
Determine if a service is upstart based,
Code Block |
---|
status servicename |
hmm... does not work with Apache2... but service status apache2 works...
See list of upstart jobs running,
Code Block | ||
---|---|---|
| ||
ls /etc/init/*.conf |
Start of good reading on upstart - http://askubuntu.com/questions/19320/whats-the-recommend-way-to-enable-disable-services
What the heck is LSB way .... talks about legacy command and it's smart to figure it out - http://askubuntu.com/questions/6358/how-do-you-restart-apache