Systemctl Check if a Service Start on Boot

From WebHostingNeeds.com
Revision as of 02:54, 25 January 2017 by Admin (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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