Difference between revisions of "Systemctl Check if a Service Start on Boot"

From WebHostingNeeds.com
Jump to: navigation, search
(Created page with "To check if a service is enabled to start on boot, run <pre> systemctl list-unit-files | grep SERVICE_NAME_HERE </pre> Example <pre> [[email protected] ~]# systemctl list-uni...")
 
(No difference)

Latest revision as of 02:54, 25 January 2017

To check if a service is enabled to start on boot, run

systemctl list-unit-files | grep SERVICE_NAME_HERE

Example

[[email protected] ~]# systemctl list-unit-files | grep httpd
httpd.service                                 enabled 
[[email protected] ~]# 



systemctl