排错集锦3:nginx重启Warning: nginx.service changed on disk. Run ‘systemctl daemon-reload‘ to reload units
Posted 遙遙背影暖暖流星
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了排错集锦3:nginx重启Warning: nginx.service changed on disk. Run ‘systemctl daemon-reload‘ to reload units相关的知识,希望对你有一定的参考价值。
问题:systemctl restart nginx.service 时,出现
Warning: nginx.service changed on disk. Run ‘systemctl daemon-reload’ to reload units.
方法:执行命令
systemctl daemon-reload
加载一下,告诉systemd系统
以上是关于排错集锦3:nginx重启Warning: nginx.service changed on disk. Run ‘systemctl daemon-reload‘ to reload units的主要内容,如果未能解决你的问题,请参考以下文章