buran's recent timeline updates
buran

buran

V2EX member #257048, joined on 2017-09-29 10:56:17 +08:00
buran's recent replies
@orzfly supervisor 启动 nginx 是这样的(从#18 楼的情况看,supervisor 已经启动了 nginx,下面那个 |-nginx--nginx 也要来 bind() 80 端口):

/etc/supervisor/conf.d/nginx.conf

[program:nginx]
command=/usr/local/nginx/sbin/nginx
directory=/root
user=root
stdout_logfile=/var/log/nginx.log
autostart=true
autorestart=true
redirect_stderr=true
stopsignal=QUIT
@loopback 这样看了,好像有两次系统自启动 nginx 的设置,没找到第二个 nginx 是哪里启动的

root@iY13xetfofdZ:~# pstree -n
init─┬─upstart-udev-br
├─...
├─...
├─supervisord─┬─python───python
│ └─nginx
├─nginx───nginx
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5160 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 22ms · UTC 09:41 · PVG 17:41 · LAX 02:41 · JFK 05:41
♥ Do have faith in what you're doing.