update: 添加参数ignore_sighup,默认忽略终端连接断开信号 #195
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
终端控制进程结束(终端连接断开)时 会自动发送
SIGHUP
信号量以关闭终端子进程,goinception添加特殊处理,忽略该信号。
为避免该更新产生异常影响,添加新参数
ignore_sighup
用以开关该特性。默认为
true
,开启该特性,即默认忽略
SIGHUP信号量重要:该参数设置位置和
port
或[inc]
配置同级
。可参考 配置文件示例 config.toml.example