查看指定服务的状态

ls -al /etc/rc?.d/*rc.local

 

将rc.local删除服务

update-rc.d -f rc.local remove

 

将rc.local加入服务并设置开机顺序99,关机不执行

update-rc.d rc.local start 99 2 3 4 5 .

 

查看现有服务状态(?未安装,+已安装已运行,-已安装已停止)

service --status-all

 

posted on 2014-08-06 10:52  飞儿传媒  阅读(363)  评论(0编辑  收藏  举报
飞儿传媒