关闭随系统启动sendmail,关闭随sendmail
如何关闭随系统启动sendmail
之前在使用centos时部署wasnd环境时,启动要在sendmail卡个几分钟,然而sendmail对我一点用都没,因此我就关闭其随系统启动关闭sendmail服务
service sendmail stop关闭sendmail随系统启动
chkconfig sendmail off检查是否sendmail自启动是否已被关闭
chkconfig --list sendmail
全部为off就表示已关闭
sendmail 0:off 1:off 2:off 3:off 4:off 5:off 6:off
假如看到有没有off的,可以尝试单独关闭,如
chkconfig --level 2 sendmail off–该命令单独关闭2
评论暂时关闭