Skip to content
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

支持更多的linux进程信号 #557

Open
lhkzh opened this issue May 13, 2020 · 2 comments
Open

支持更多的linux进程信号 #557

lhkzh opened this issue May 13, 2020 · 2 comments

Comments

@lhkzh
Copy link
Contributor

lhkzh commented May 13, 2020

类似nginx支持,这样管理代码更新进程关闭方便些。
QUIT 从容关闭
HUP 重载配置用新的配置开始新的工作进程从容关闭旧的工作进程
USR1 重新打开日志文件
USR2 平滑升级可执行程序

@richardo2016
Copy link
Contributor

@lhkzh 是希望在 process.on(SIGNAL, () => ...) 中支持更多的 SIGNALs 么

@lhkzh
Copy link
Contributor Author

lhkzh commented Sep 9, 2020

@lhkzh 是希望在 process.on(SIGNAL, () => ...) 中支持更多的 SIGNALs 么

√,不知道算不算麻烦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants