collider.service失败状态

时间:2019-07-16 12:25:32

标签: websocket webrtc collider apprtc

我的root.collider目录中的start.sh文件

#!/bin/sh -
/collider/collidermain 2>> /collider/collider.log

================================================ ==================

我的collider.service文件

[Unit]
Description=AppRTC signalling server (Collider)

[Service]
ExecStart=/collider/start.sh
StandardOutput=null

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

错误我得到了什么:

root@apprtc:~# sudo systemctl status collider.service
● collider.service - AppRTC signalling server (Collider)
   Loaded: loaded (/lib/systemd/system/collider.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2019-07-16 12:04:18 UTC; 2min 18s ago
  Process: 1428 ExecStart=/collider/start.sh (code=exited, status=203/EXEC)
 Main PID: 1428 (code=exited, status=203/EXEC)

Jul 16 12:04:18 apprtc systemd[1]: Started AppRTC signalling server (Collider).
Jul 16 12:04:18 apprtc systemd[1]: collider.service: Main process exited, code=exited, status=203/EXEC
Jul 16 12:04:18 apprtc systemd[1]: collider.service: Unit entered failed state.
Jul 16 12:04:18 apprtc systemd[1]: collider.service: Failed with result 'exit-code'.

0 个答案:

没有答案