DISABLING A SERVICE IN CENTOS

August 13, 2016   /   by Marco  / Categories :  Business, Technology
DISABLING A SERVICE IN CENTOS

I’ve done this a couple of times and I keep forgetting the commands so I thought I’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 --del

So basically it’s:

chkconfig [name of service] off
chkconfig [name of service] --del

If you need to add it back in then use these commands:

chkconfig dovecot --add
chkconfig dovecot on --level 2,3,5

Then verify by using:

chkconfig --list dovecot

 

DO YOU LIKE WHAT YOU'VE READ?
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!

Our Sponsors

  • Follow us:

OTHER ARTICLES YOU MAY LIKE


WHEN TO HIRE YOUR FIRST EMPLOYEE (AND WHEN NOT TO)

WHEN TO HIRE YOUR FIRST EMPLOYEE (AND WHEN NOT TO)

For many entrepreneurs, hiring the first employee is a major milestone. It represents growth, momentum, and the possibility that your business is evolving from a solo operation into something larger. At the same time, it can feel intimidating. Bringing someone onto your team introduces new responsibilities, financial commitments, and operational challenges. The decision to hire […]

read more
USE THESE TOOLS TO BUILD YOUR BUSINESS

USE THESE TOOLS TO BUILD YOUR BUSINESS

Building a business has never been short on ambition, but it has often been short on time, budget, and operational headroom. Founders are expected to market like a media team, sell like a seasoned closer, support customers around the clock, manage projects with precision, and still find space to think strategically. That is exactly why […]

read more

Like our Page