简体   繁体   English

update-rc.d vs chkconfig

[英]update-rc.d vs chkconfig

I have tried to get my head around how to configure the application startups and shutdowns in linux. 我试图了解如何在linux中配置应用程序启动和关闭。 Can someone explain me what the difference between using update-rc and chkconfig is? 有人可以解释一下使用update-rc和chkconfig之间的区别是什么? Is it two ways of doing the exact same thing? 是两种完全相同的方式吗?

chkconfig - updates and queries runlevel information for system services chkconfig - 更新和查询系统服务的运行级别信息

update-rc.d updates the System V style init script links /etc/rcrunlevel.d/NNname whose target is the script /etc/init.d/name. update-rc.d更新System V样式的init脚本链接/etc/rcrunlevel.d/NNname,其目标是脚本/etc/init.d/name。

Is it two ways of doing the exact same thing? 是两种完全相同的方式吗?

Yes. 是。 The equivalent to chkconfig is update-rc.d 与chkconfig等效的是update-rc.d

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM