【start-stop-daemon】CentOS7.x上使用start-stop-daemon报错

一、问题背景


应用节点上:

$  sh  jetty.sh start  

报错  start-stop-daemon 不支持 -d  选项



二、处理办法


start-stop-daemon是一个Debian体系里的一个守护进程管理软件,可以用指定的用户启停软件。

CentOS7.x上不需要,在应用节点上:

$ sudo  rm  -f  /usr/bin/start-stop-daemon


注意:不要删除 /bin/busybox ,否则可能引发系统问题!


三、参考


start-stop-daemon(8) — Linux manual page

https://man7.org/linux/man-pages/man8/start-stop-daemon.8.html


Linux中守护进程启停工具start-stop-daemon使用介绍

https://wangjianno1.blog.csdn.net/article/details/52080299


CentOS 6.8 使用start-stop-daemon命令

https://cloud.tencent.com/developer/article/1435909


CentOS下安装使用start-stop-daemon

https://blog.yahui.wang/2016/01/05/linux-CentOS-start-stop-daemon/

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容