User Tools

Site Tools


computing:linux:services_startup

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
computing:linux:services_startup [2018/02/28 07:31]
gcooper
computing:linux:services_startup [2018/02/28 09:09] (current)
gcooper
Line 1: Line 1:
 ====== Services Startup Configuration Notes ====== ====== Services Startup Configuration Notes ======
  
-===== SystemD =====+===== systemd =====
  
 https://askubuntu.com/questions/912216/16-04-command-to-list-all-services-started-on-boot https://askubuntu.com/questions/912216/16-04-command-to-list-all-services-started-on-boot
  
-List services: +  * ''+'' = running 
 +  * ''-'' = stopped 
 + 
 +**List** services: 
  
 <file> <file>
Line 11: Line 14:
 </file> </file>
  
-Enable or disable a service:+**Query status, enable or disable** a service
 + 
 +<file> 
 +systemctl [is-enabled|enable|disable] <servicename> 
 +</file> 
 + 
 +List all **enabled** services: 
 + 
 +<file> 
 +systemctl list-unit-files | grep enabled 
 +</file> 
 +List **currently running** services:
  
 <file> <file>
-systemctl [enable|disable] <servicename>+systemctl | grep running
 </file> </file>
  
-===== SysVInit =====+===== sysvinit =====
  
 <file> <file>
computing/linux/services_startup.1519828286.txt.gz · Last modified: 2018/02/28 07:31 by gcooper