看板Linux
标 题Re: 请问一下Rehat linux如何关掉开机时启动的service(ex..sendmail)????
发信站山寨资讯站 (Thu May 4 11:36:12 2000)
转信站Ptt!bbs.ee.ntu!freebsd.ntu!140.125.32.8!BanditNest-BBS
※ 引述《[email protected] (顶尖苍蝇)》之铭言:
> ※ 引述《[email protected] (自我放大百分之两百)》之铭言:
> > 请问一下Rehat linux如何关掉开机时启动的service(ex..sendmail)????
> > 谢谢了......
> 1.
> 请修改 /etc/rc.d/rc3.d 下面的档名....
> 将原 Sxxsendmail 改成非大写S开头的名称
> 如此下次boot就不会启动了.....
> 2.
> 若开机即启动了...
> 请先使用 ps aux | grep sendmail
> 来查看其 pid 值.....
> 再使用 kill -1 pid 的方式来杀掉该process
Redhat 不用这样麻烦吧!
/etc/rc.d/init.d/
有大部份的 Service
ex:
sendmail
可用
./sendmail stop , stop sendmail service
./sendmail start , start sendmail service
setup 可以设定大部份的 Service 是否在开机时要 Run.
--
如果你没有连线 等於没有生命 -- 魔法奇兵
--
※ Origin: 山 寨 资 讯 站 <bbs.poorman.org>
◆ From: 140.125.250.121