xxx.service放入到/usr/lib/systemd/system下之后,如果以
`systemctl enable\start /usr/lib/systemd/system/xxx.service`则会报标题所示的错误。
去掉路径,直接systemctl enable\start xxx.service则不会报错
xxx.service放入到/usr/lib/systemd/system下之后,如果以
`systemctl enable\start /usr/lib/systemd/system/xxx.service`则会报标题所示的错误。
去掉路径,直接systemctl enable\start xxx.service则不会报错