环境: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/pulishautostart=trueautorestart=truestderr_logfile=/var/log/TestCore.err.logstdout_logfile=/var/log/TestCore.out.logenvironment=ASPNETCORE_ENVIRONMENT=Productionuser=rootstopsignal=INT
1 回答
慕雪6442864
TA贡献1812条经验 获得超5个赞
路径/home/site/pulish
中,pulish
拼错了,应该是publish
另外,如果还是不能运行,需要把command=dotnet TestCore.dll
改为command=dotnet /home/site/publish/TestCore.dll
- 1 回答
- 0 关注
- 909 浏览
添加回答
举报
0/150
提交
取消