-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NODE_LOG_DIR默认值导致无法获取到进程下的环境变量pm2_env.NODE_LOG_DIR #25
Comments
PM2整个env加载进进程的时机跟alinode内部判断时机不同导致的这个问题,建议用
这种形式来启动 |
启动方式应该没出入,NODE_LOG_DIR=/tmp/zm_v2 ENABLE_NODE_LOG=YES pm2 startOrReload pm2.json env.NODE_LOG_DIR = env.NODE_LOG_DIR || pm2_env.NODE_LOG_DIR; |
嗯。。这样来看这里确实有些问题,最近会修改一下这里的逻辑,让env先找pm2_env,如果没有再用'/tmp' |
The text was updated successfully, but these errors were encountered: