centos systemctl daemon-reload 提示 no such file or directory 的一个原因


service 的文件名写错了

 

比如 mongodb.service 写成了 mongodb.srvice 

 

真的是坑,居然没有提示具体的路径,只是提示一个 no such file or directory

要是提示 xxx.service:no such file or directory 还好


免责声明!

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



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