0

大家好

我有个问题。

  1. 我停止了名为 exim 和 dovecot 的服务,但一段时间后,这些服务又自动启动了。直到现在,我不知道为什么会发生这种情况,尽管我试图搜索这个问题但找不到任何东西。请帮我解决这个问题..

太感谢了!!!

4

2 回答 2

2

This works for me:

Login as root on your server and force-stop the services:

service named stop

service exim stop

service dovecot stop

Next is to configure VestaCP to not start the services when the server is beeing rebooted:

chkconfig named off

chkconfig exim off

chkconfig dovecot off

And you're done. You can check by rebooting the server. You can also do this with other services: clamd, spamassasin (if you installed the high ram VestaCP version and don't need the mail services)_ httpd, nginx, mysqld and vsftpd (for if you make a dns-only server)

You get the point, hope this works. Good luck

于 2015-11-30T08:29:33.990 回答
1

它只是在您创建 Web 域时,但已检查选项 DNS 支持和邮件支持。因此,vesta 将启动名为和 dovecot 的服务。您只需使用以下命令创建一个 cronjob:

sudo /usr/local/vesta/bin/v-stop-service dovecot sudo /usr/local/vesta/bin/v-stop-service 命名为 sudo /usr/local/vesta/bin/v-stop-service exim

或者,在服务器中,添加这些命令行

JOB='8' MIN='0' HOUR=' /6' DAY=' ' MONTH=' ' WDAY=' ' CMD='sudo /usr/local/vesta/bin/v-stop-service exim' SUSPENDED= '没有' TIME='12:32:31' DATE='2014-05-22' JOB='9' MIN='0' HOUR=' /6' DAY=' ' MONTH=' ' WDAY=' ' CMD ='sudo /usr/local/vesta/bin/v-stop-service named'SUSPENDED='no' TIME='12:32:05' DATE='2014-05-22' JOB='10' MIN=' 0' HOUR=' /6' DAY=' ' MONTH=' ' WDAY=' ' CMD='sudo /usr/local/vesta/bin/v-stop-service dovecot' SUSPENDED='no' TIME='12: 31:50' 日期 ='2014-05-22'

如果您有任何问题,请给我留言 :)

于 2014-05-26T03:45:02.277 回答