Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

Removing Some Services

General questions about VestaCP
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
Graham
Posts: 57
Joined: Wed Sep 25, 2013 6:32 pm

Removing Some Services
  • Quote

Post by Graham » Thu Oct 17, 2013 2:58 pm

I'd like to be able to stop/disable the following services in Vesta:

bind9
exim
dovecot
vsftpd

Does anyone know if it's possible to do this from the control panel or do I need to change config files somewhere.

Thanks
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: Removing Some Services
  • Quote

Post by skid » Thu Oct 17, 2013 10:32 pm

You can stop them using "services" page which can be accessed from top menu.

If you want to completely disable them use update-rc.d command

Code: Select all

update-rc.d -f %service_name% remove
Top

Graham
Posts: 57
Joined: Wed Sep 25, 2013 6:32 pm

Re: Removing Some Services
  • Quote

Post by Graham » Fri Oct 18, 2013 6:12 am

Thanks skid.

I hadn't realised it would be that simple :)

I'd already shutdown bind9 and exim4 from the services page, dovecot/vsftpd just refuse to stop though. I'll see if I can work out why.
Top

Graham
Posts: 57
Joined: Wed Sep 25, 2013 6:32 pm

Re: Removing Some Services
  • Quote

Post by Graham » Mon Oct 21, 2013 6:39 pm

Graham wrote:Thanks skid.

I hadn't realised it would be that simple :)

I'd already shutdown bind9 and exim4 from the services page, dovecot/vsftpd just refuse to stop though. I'll see if I can work out why.
Hi Skid,

nothing I do appears to stop dovecot from running. I even tried disabling as per your earlier post and restarting the server:

Code: Select all

update-rc.d -f dovecot remove
Top

skid
VestaCP Team
Posts: 1476
Joined: Wed Apr 06, 2011 11:12 pm

Re: Removing Some Services
  • Quote

Post by skid » Mon Oct 21, 2013 7:50 pm

Sorry, I forgot about upstart. Dovecot's init script has been converted to upstart job.
You can disable it like this

Code: Select all

echo 'manual' > /etc/init/dovecot.override 
To get full list of upstart jobs run

Code: Select all

initctl list
So on Ubuntu some services like apache2, nginx, exim are using sysv init scripts to startup, but vast majority of them has been converted to upstart jobs.
Top


Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password