Running gives me the following:
I tried adding the environment as you suggested:and the result was the following errors:
Thanks for your help
Code:
journalctl -f -u webrtc.service
Code:
Started webrtc.service.webrtc.service: Failed to locate executable GO111MODULE=on: No such file or directorywebrtc.service: Failed at step EXEC spawning GO111MODULE=on: No such file or directorywebrtc.service: Main process exited, code=exited, status=203/EXECwebrtc.service: Failed with result 'exit-code'.
I tried adding the environment as you suggested:
Code:
sudo tee /etc/systemd/system/webrtc.service >/dev/null << EOF[Unit]Wants=network.target[Service]ExecStart=go run *.goWorkingDirectory=/home/nickserver/RTSPtoWebRTCEnvironment=GO111MODULE=on[Install]WantedBy=multi-user.targetEOF
Code:
webrtc.service: Main process exited, code=exited, status=203/EXECwebrtc.service: Failed with result 'exit-code'.Started webrtc.service.stat *.go: no such file or directorywebrtc.service: Main process exited, code=exited, status=1/FAILUREwebrtc.service: Failed with result 'exit-code'.Started webrtc.service.stat *.go: no such file or directorywebrtc.service: Main process exited, code=exited, status=1/FAILUREwebrtc.service: Failed with result 'exit-code'.
Statistics: Posted by Yahoo Kazooie — Sat Jan 27, 2024 8:25 am