Differences
This shows you the differences between two versions of the page.
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/ | + | Service control and automatic starting. |
---- | ---- | ||
+ | |||
+ | ===== General Control ===== | ||
Status | Status | ||
Line 12: | Line 14: | ||
</ | </ | ||
+ | \\ | ||
Start | Start | ||
<code bash> | <code bash> | ||
Line 17: | Line 20: | ||
</ | </ | ||
- | 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 | + | |
- | </ | + | |
Enable at boot (multi-user.target) | Enable at boot (multi-user.target) | ||
Line 28: | Line 29: | ||
</ | </ | ||
+ | \\ | ||
Disable at boot | Disable at boot | ||
<code bash> | <code bash> | ||
Line 33: | Line 35: | ||
</ | </ | ||
+ | ---- | ||
+ | |||
+ | ===== Verification ===== | ||
+ | |||
+ | Check if service enabled on startup | ||
+ | <code bash> | ||
+ | systemctl is-enabled httpd | ||
+ | systemctl list-unit-files --type=service | grep httpd | ||
+ | </ | ||
+ | |||
+ | \\ | ||
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: | ||
</ | </ | ||
+ | \\ | ||
View all services that will start with multi-user.target | View all services that will start with multi-user.target | ||
<code bash> | <code bash> |