Systemd 서비스: 메서드 호출을 실행할 수 없습니다. 단위 서비스가 실패했습니다.

Systemd 서비스: 메서드 호출을 실행할 수 없습니다. 단위 서비스가 실패했습니다.

VPS에서 맞춤형 서비스를 제공하려고 합니다. 그러나 실행을 허용하지 않습니다. 다음과 같이 말합니다. 무슨 일이 일어나고 있는지 잘 모르겠지만 Ubuntu 노트북에서 실행하면 제대로 작동합니다. 무엇이 문제일까요?

sudo systemctl은 websocket.service를 시작합니다.

Failed to issue method call: Unit websocket.service failed to load: No such file or directory. See system logs and 'systemctl status websocket.service' for details.

고양이/lib/systemd/system/websocket.service

[Unit]
Description=php webSocket
After=syslog.target network.target

[Service]
User=root

Type=simple
ExecStart=/webs.sh
TimeoutStopSec=20
KillMode=process
Restart=always
RestartSec=2

[Install]
WantedBy=multi-user.target
Alias=websocket.service

고양이/webs.sh

#!/usr/bin/php /server.php
### BEGIN INIT INFO
# Provides:          webSocket
# Required-Start:    $local_fs $network
# Required-Stop:     $local_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: php webSocket
# Description:       php webSocket
### END INIT INFO

이것을 시도했지만 systemctl daemon-reload다음 메시지가 나타납니다.:

Attempted to remove disk file system, and we can't allow that.
Ignoring /etc/systemd/system/multi-user.target.wants/ssh.service -> /lib/systemd/system/ssh.service for systemd deputy init
Ignoring /etc/systemd/system/multi-user.target.wants/rsyslog.service -> /lib/systemd/system/rsyslog.service for systemd deputy init
Ignoring /etc/systemd/system/multi-user.target.wants/bind9.service -> /lib/systemd/system/bind9.service for systemd deputy init
Ignoring /etc/systemd/system/timers.target.wants/phpsessionclean.timer -> /lib/systemd/system/phpsessionclean.timer for systemd deputy init

서버도 다시 시작했지만 아무 것도 없었습니다. 무슨 일이 일어나고 있는지 힌트를 줄 수 있는 사람이 있나요?

관련 정보