行的服务被放在/etc/rcX.d目录中(在这里X的取值是从0到6)
添加一个服务(服务必须已在/etc/init.d目录中存在):
sudoupdate-rc.dnameoftheservicedefaults
删除一个服务:
sudoupdate-rc.dnameoftheserviceremove
要定制服务,请参阅manupdate-rc.d中所写内容。
ubuntu中服务的启动或停止ubuntu中服务的启动或停止ubuntu中服务的启动或停止ubuntu中服务的启动或停止ubuntu中服务的启动或停止ubuntu中服务的启动或停止ubuntu中服务的启动或停止ubuntu中服务的启动或停止ubuntu中服务的启动或停止ubuntu中服务的启动或停止
阅读(326) | 评论(0) | 转发(0) |