1.vs2017独立发布。linux-64
2.winscp上传到当前用户下面。ubuntu tsl64来讲
3.超级用户sudo su
4.zip解压缩 uzip xxx.zip -d ../../var/wwww/publish/xxx
5.进入目录 chmod u+x xxxx
6.安装supervisord
apt-get install supervisor
7.配置
[program:xxx]
command=/var/wwww/publish/xxxx #全路径
autostart=true
autorestart=true
stderr_logfile=/var/log/xxxx.err.log
stdout_logfile=/var/log/xxxx.out.log
environment=Hosting__Environment=Production
user=root
stopsignal=INT
redirect_stderr=true