메소드 호출 발행 실패 : 단위…로드 실패 : 해당 파일 또는 디렉토리가 없음 파일이 설치되어

시스템 정의 파일이 설치되어 있지만 systemd가이를 사용하지 못합니다. 어떤 문제가 발생하거나 어떻게 디버깅 할 수 있습니까?

ettin:~# ls -l /etc/systemd/system/efl_test_daemon.service
-rwxr-xr-x 1 root root 145 Aug 18 13:11 /etc/systemd/system/efl_test_daemon.service
ettin:~# /bin/systemctl start efl_test_daemon.service
Failed to issue method call: Unit efl_test_daemon.service failed to load: No such file or directory.



답변

Michael Hampton이 질문 의견에서 말했듯이 새 서비스 파일을 만들었으며 다음을 실행해야합니다.

systemctl daemon-reload

쉽게 액세스 할 수 있도록 답변을 게시하고 있습니다. Michael이 자신의 답변을 게시하면 기꺼이 제거하겠습니다.


답변