Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1250962
  • 博文数量: 793
  • 博客积分: 10000
  • 博客等级: 上将
  • 技术积分: 5025
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-28 17:58
文章分类

全部博文(793)

文章存档

2011年(1)

2008年(792)

我的朋友

分类: LINUX

2008-08-28 18:02:45

 
行的服务被放在/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) |
给主人留下些什么吧!~~