linux_wiki:start_and_stop_services_and_configure_services_to_start_automatically_at_boot

Differences

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

Link to this comparison view

Next revision
Previous revision
linux_wiki:start_and_stop_services_and_configure_services_to_start_automatically_at_boot [2016/02/29 21:45]
billdozor created
linux_wiki:start_and_stop_services_and_configure_services_to_start_automatically_at_boot [2019/05/25 23:50] (current)
Line 3: Line 3:
 **General Information** **General Information**
  
-About this page/how-to/script+Service control and automatic starting
  
 ---- ----
 +
 +===== General Control =====
  
 Status Status
Line 12: Line 14:
 </code> </code>
  
 +\\
 Start Start
 <code bash> <code bash>
Line 17: Line 20:
 </code> </code>
  
-Check if service enabled on startup +---- 
-<code bash> + 
-systemctl is-enabled httpd +===== Enable and Disable at Boot =====
-systemctl list-unit-files --type=service | grep httpd +
-</code>+
  
 Enable at boot (multi-user.target) Enable at boot (multi-user.target)
Line 28: Line 29:
 </code> </code>
  
 +\\
 Disable at boot Disable at boot
 <code bash> <code bash>
Line 33: Line 35:
 </code> </code>
  
 +----
 +
 +===== Verification =====
 +
 +Check if service enabled on startup
 +<code bash>
 +systemctl is-enabled httpd
 +systemctl list-unit-files --type=service | grep httpd
 +</code>
 +
 +\\
 Check to see if httpd will start in the multi-user target Check to see if httpd will start in the multi-user target
 <code bash> <code bash>
Line 38: Line 51:
 </code> </code>
  
 +\\
 View all services that will start with multi-user.target View all services that will start with multi-user.target
 <code bash> <code bash>
  • linux_wiki/start_and_stop_services_and_configure_services_to_start_automatically_at_boot.1456800313.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)