docs:ubuntu:services

This is an old revision of the document!


services

  • see status of all services, running or not
    service --status-all
  • see if apache2 is running
    $ service apache2 status
    Apache2 is running (pid 1926).
  • restart apache2
    $ sudo service apache2 restart
     * Restarting web server apache2
    ... waiting                                                             [ OK ]
  • you can also start, stop, etc…
  • To install/remove a service, see man update-rc.d. This is a tool to generate the init.d runlevel scripts for you.
  • docs/ubuntu/services.1367700171.txt.gz
  • Last modified: 2013/05/04 14:42
  • by billh