[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 禁止服务自动运行的标准做法?





在 2010年8月14日 下午10:50,User <resation@gmail.com>写道:


2010-08-14(Saturday) 18:06:35 +0800, yuanwei xu <xuyuanwei@gmail.com>:

> 我一直是用e.g: mv S20ssh K80ssh 的方式来操作的,其它几个命令都是看过一眼就忘,
> 只是碰到不是整十的数,或者文件名比较长的时候就不太好处理了。


  很多资料上都是这样介绍的,包括 update-rc.d 的手册页里也是这样讲的。
但总觉得不太正规,因为: S 表示启动服务, K 表示停止服务。既然没开始,怎么
去停止呢?虽然不会有不良的后果,给人感觉却是“画蛇添足”。


如果是S开头的话,系统开机的时候是会运行这个服务的,这就是个开始。
改成K开头的话,就是开机的时候不加载这个服务,所谓的启动和停止是对系统开机的时候说的。
这和 Windows的 msconfig.msc服务管理是一样的。




--
To UNSUBSCRIBE, email to debian-chinese-gb-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 20100814145024.GB2747@localhost.localdomain" target="_blank">http://lists.debian.org/[🔎] 20100814145024.GB2747@localhost.localdomain



Reply to: