{"id":2963,"date":"2016-02-19T17:28:12","date_gmt":"2016-02-19T17:28:12","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=2963"},"modified":"2016-02-19T17:28:12","modified_gmt":"2016-02-19T17:28:12","slug":"check-services-on-centos-7","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2016\/02\/19\/check-services-on-centos-7\/","title":{"rendered":"Check services on CentOS 7"},"content":{"rendered":"<p>Check services that are enabled on CentOS 7<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# systemctl list-unit-files\n<\/pre>\n<p>Or for a specific service<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n# systemctl status mysqld\n<\/pre>\n<p>Disabling a service on boot in CentOS 7<br \/>\nTo disable, it&#8217;s simply a matter of running systemctl disable on the desired service.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n# systemctl disable mysqld\n\n<\/pre>\n<p>Check which services failed to start on boot on CentOS 7<br \/>\nAs a bonus, systemctl allows you to list all services that failed to start on boot, even though they were configured to start on boot.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n# systemctl --failed\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Check services that are enabled on CentOS 7 # systemctl list-unit-files Or for a specific service # systemctl status mysqld Disabling a service on boot in CentOS 7 To disable, it&#8217;s simply a matter of running systemctl disable on the desired service. # systemctl disable mysqld Check which services failed to start on boot on &#8230; <a title=\"Check services on CentOS 7\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2016\/02\/19\/check-services-on-centos-7\/\" aria-label=\"Read more about Check services on CentOS 7\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-2963","post","type-post","status-publish","format-standard","hentry","category-centos-7"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2963","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=2963"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2963\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=2963"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=2963"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=2963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}