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


STOP NOISY CALLS: THE ANDROID SETTING YOU SHOULD SWITCH ON TODAY

STOP NOISY CALLS: THE ANDROID SETTING YOU SHOULD SWITCH ON TODAY

Phone calls still matter. Whether you’re speaking to a client, checking in with family, or handling something urgent on the move, clarity can make or break the conversation. If you’ve ever found yourself apologising for the construction noise behind you, the wind across your microphone, or the café chatter muddling your words, there’s an Android […]

read more
FILMORA 15 – WHAT’S NEW? AI EXTEND, DYNAMIC CAPTIONS, TRUE TIMELINE EDITING + INSTALL GUIDE

FILMORA 15 – WHAT’S NEW? AI EXTEND, DYNAMIC CAPTIONS, TRUE TIMELINE EDITING + INSTALL GUIDE

There is a particular thrill to installing a major new release of your everyday editor, especially when your workflow is comfortable and productive in the current version. That feeling is right at the heart of the move from Filmora 14 to Filmora 15. This upgrade promises fresh creative features, faster handling of complex projects, and […]

read more

Like our Page