CentOS下安装使用start-stop-daemon


CentOS下安装使用start-stop-daemon

在centos下下了个自启动的服务器脚本 执行的时候发现找不到start-stop-daemon命令
好吧 执行手动编译一下 加上这个命令

wget http://developer.axis.com/download/distribution/apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz

tar -xzvf apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.gz
# 然后进入解压之后的路径 一直 cd 到start-stop-daemon.c在的目录 

cc start-stop-daemon.c -o start-stop-daemon

cp start-stop-daemon /usr/bin/start-stop-daemon

ok 现在可以正常启动服务了


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM