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


Bestever: The Complete Guide to AI-Powered Advertising Success

Bestever: The Complete Guide to AI-Powered Advertising Success

Unlock AI-driven strategies for advertising success with Bestever’s comprehensive guide, featuring tools, techniques, and insights for optimal campaign performance.

read more
HOW TO GET FREE UPGRADE TO PERPLEXITY.AI PRO FOR 12 MONTHS AND TESTING PRO FEATURES

HOW TO GET FREE UPGRADE TO PERPLEXITY.AI PRO FOR 12 MONTHS AND TESTING PRO FEATURES

If you spend time researching, comparing, or synthesising information online, you have probably encountered Perplexity.ai — a research-focused assistant that blends large language models with live web search and citation trails. The Pro plan supercharges that experience with priority access to powerful models, higher usage limits, and premium capabilities baked directly into the interface. Right […]

read more

Like our Page