<input type="hidden" id="_wpnonce" name="_wpnonce" value="0f153c9372" /><input type="hidden" name="_wp_http_referer" value="/blog/wp-json/wp/v2/posts/5390" /><input type="hidden" id="_wpnonce" name="_wpnonce" value="0f153c9372" /><input type="hidden" name="_wp_http_referer" value="/blog/wp-json/wp/v2/posts/5390" />{"id":5390,"date":"2016-08-13T16:59:11","date_gmt":"2016-08-13T06:59:11","guid":{"rendered":"https:\/\/www.businesslegions.com\/blog\/?p=5390"},"modified":"2016-08-13T17:06:26","modified_gmt":"2016-08-13T07:06:26","slug":"disabling-service-centos","status":"publish","type":"post","link":"https:\/\/www.businesslegions.com\/blog\/2016\/08\/13\/disabling-service-centos\/","title":{"rendered":"DISABLING A SERVICE IN CENTOS"},"content":{"rendered":"<!--CusAds0--><p>I&#8217;ve done this a couple of times and I keep forgetting the commands so I thought I&#8217;d better write them down.<\/p>\n<p>In order to disable a specific service in CentOS startup use the following command. In particular the dovecot service<\/p>\n<pre class=\"lang:default decode:true \">chkconfig dovecot off\r\nchkconfig dovecot --del<\/pre>\n<p>So basically it&#8217;s:<\/p>\n<pre class=\"lang:default decode:true \">chkconfig [name of service] off\r\nchkconfig [name of service] --del<\/pre>\n<p>If you need to add it back in then use these commands:<\/p><!--CusAds0-->\n<pre class=\"lang:default decode:true\">chkconfig dovecot --add\r\nchkconfig dovecot on --level 2,3,5<\/pre>\n<p>Then verify by using:<\/p>\n<pre class=\"lang:default decode:true\">chkconfig --list dovecot<\/pre>\n<p>&nbsp;<\/p>\n<div class=\"lt-box\" style=\"border:1px solid #1d6a9e\"><div class=\"lt-box-title\" style=\"background-color:#2485C6;border-top:1px solid #a7cee8;text-shadow:1px 1px 0 #0b283b\">DO YOU LIKE WHAT YOU'VE READ?<\/div><div class=\"lt-box-content\">Join our subscription list and receive our content right in your mailbox. If you like to receive some Great deals our Freebies then subscribe now!\r\n\r\n<p><div class=\"tnp tnp-subscription \">\n<form method=\"post\" action=\"https:\/\/www.businesslegions.com\/blog\/wp-admin\/admin-ajax.php?action=tnp&amp;na=s\">\n<input type=\"hidden\" name=\"nlang\" value=\"\">\n<div class=\"tnp-field tnp-field-firstname\"><label for=\"tnp-1\">Name<\/label>\n<input class=\"tnp-name\" type=\"text\" name=\"nn\" id=\"tnp-1\" value=\"\" placeholder=\"\"><\/div>\n<div class=\"tnp-field tnp-field-email\"><label for=\"tnp-2\">Email<\/label>\n<input class=\"tnp-email\" type=\"email\" name=\"ne\" id=\"tnp-2\" value=\"\" placeholder=\"\" required><\/div>\n<div class=\"tnp-field tnp-field-button\" style=\"text-align: left\"><input class=\"tnp-submit\" type=\"submit\" value=\"Subscribe\" style=\"\">\n<\/div>\n<\/form>\n<\/div>\n<\/p>\r\n\r\n<\/div><\/div><!--CusAds0-->\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve done this a couple of times and I keep forgetting the commands so I thought I&#8217;d better write them down. In order to disable a specific service in CentOS startup use the following command. In particular the dovecot service chkconfig dovecot off chkconfig dovecot &#8211;del So basically it&#8217;s: chkconfig [name of service] off chkconfig [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5445,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,3],"tags":[1836,1777,2562,918],"class_list":["post-5390","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-business","category-technology","tag-centos","tag-disable","tag-dovecot","tag-service"],"_links":{"self":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts\/5390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/comments?post=5390"}],"version-history":[{"count":4,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts\/5390\/revisions"}],"predecessor-version":[{"id":5447,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/posts\/5390\/revisions\/5447"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/media\/5445"}],"wp:attachment":[{"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/media?parent=5390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/categories?post=5390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.businesslegions.com\/blog\/wp-json\/wp\/v2\/tags?post=5390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}