mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 00:15:51 +03:00
[GH-ISSUE #188] kill 命令退出代码不为零 #116
Labels
No labels
TODO
bug
duplicate
enhancement
good first issue
help wanted
helpful
invalid
need-confirm
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/goproxy#116
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @designinlife on GitHub (Nov 30, 2018).
Original GitHub issue: https://github.com/snail007/goproxy/issues/188
Received an interrupt, stopping services...
accept error , ERR:accept tcp 0.0.0.0:10001: use of closed network connection
service tcp stopped
goproxy 版本: 6.6
直接 kill 或 kill -s QUIT 时,报以上错误!
@snail007 commented on GitHub (Nov 30, 2018):
正常日志,不是错误。
@designinlife commented on GitHub (Dec 2, 2018):
但是 exit code = 1, 这个貌似不好控制流程
比如:我要写个 Bash 脚本要判断是否正常退出
当然,关闭进程一般强杀也没啥事
systemd 管理进程会出现: Process: 50948 ExecStop=/bin/kill -s QUIT (code=exited, status=1/FAILURE)