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


SUPABASE BACKUP TUTORIAL: USE DBEAVER TO EXPORT YOUR DATABASE SAFELY

SUPABASE BACKUP TUTORIAL: USE DBEAVER TO EXPORT YOUR DATABASE SAFELY

If you are building anything serious on Supabase, whether that is a client portal, a SaaS app, an internal dashboard, or even a small side project that is starting to get traction, having a reliable database backup process is one of those tasks that quickly moves from optional to essential. Supabase makes a lot of […]

read more
EASY TYRE PRESSURE SENSOR RESET TUTORIAL | RENAULT KOLEOS & SIMILAR CARS

EASY TYRE PRESSURE SENSOR RESET TUTORIAL | RENAULT KOLEOS & SIMILAR CARS

If you have recently adjusted your tyres, topped up the air pressure, or seen a warning appear on your dashboard, knowing how to reset the tyre pressure monitoring system on a Renault Koleos can save you time and unnecessary worry. The process is quite straightforward once you know where to look in the vehicle menu, […]

read more

Like our Page