Asp.Net Core Supervisor

环境:Ubuntu 16.04.2     Core2.0

使用Supervisor 做守护进程时,error log输出内容如下。请问该如何处理?

supervisor: couldn't chdir to /home/site/pulish: ENOENT

 

配置信息如下:

[program:TestCore]
command=dotnet TestCore.dll 
directory=/home/site/pulish
autostart=true
autorestart=true
stderr_logfile=/var/log/TestCore.err.log
stdout_logfile=/var/log/TestCore.out.log
environment=ASPNETCORE_ENVIRONMENT=Production
user=root
stopsignal=INT


呼唤远方
浏览 910回答 1
1回答

慕雪6442864

路径/home/site/pulish中,pulish拼错了,应该是publish另外,如果还是不能运行,需要把command=dotnet TestCore.dll改为command=dotnet /home/site/publish/TestCore.dll
打开App,查看更多内容
随时随地看视频慕课网APP