2018年4月11日星期三

程序的上线(也就是部署)

编译好的代码(经常是二进制文件)到线上的服务器
需要使用supervisorctl
配置文件/etc/supervisord.conf ,在里面配置你需要上线的服务,
然后在supervisord.conf指定的目录下配置项目上线指定的配置,即可上线

这时候想要吧进程删除,他会自动重启

没有评论:

发表评论

leetcode 17

17.   Letter Combinations of a Phone Number Medium Given a string containing digits from   2-9   inclusive, return all possible l...