Centos7 Failed to start xxx.service: Unit not found. 服务装好之后systemctl 不能用...

首先看一下服务列表里有没有这个服务:

systemctl list-unit-files --type=service

如果有的话:

systemctl daemon-reload

即可

原文地址:https://www.cnblogs.com/oscarli/p/13073351.html