docs:ubuntu:services

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs:ubuntu:services [2013/05/04 14:42] billhdocs:ubuntu:services [2016/03/27 15:04] (current) – removed billh
Line 1: Line 1:
-====== services ====== +
-  * see status of all services, running or not<code> +
-service --status-all +
-</code> +
-  * see if apache2 is running<code> +
-$ service apache2 status +
-Apache2 is running (pid 1926). +
-</code> +
-  * restart apache2<code> +
-$ sudo service apache2 restart +
- * Restarting web server apache2 +
-... waiting                                                             [ OK ] +
-</code> +
-  * 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