[GH-ISSUE #177] 如何结束deamon启动进程 #107

Closed
opened 2026-02-27 23:15:28 +03:00 by kerem · 2 comments
Owner

Originally created by @daoiqi on GitHub (Nov 19, 2018).
Original GitHub issue: https://github.com/snail007/goproxy/issues/177

启动的话通过命令./proxy @socks5_conf.txt --daemon,但是没有找到如何停止程序。

只能ps | grep proxy 然后kill pid这样的方法吗?

没有 proxy stop ?类似的命令?

Originally created by @daoiqi on GitHub (Nov 19, 2018). Original GitHub issue: https://github.com/snail007/goproxy/issues/177 启动的话通过命令`./proxy @socks5_conf.txt --daemon`,但是没有找到如何停止程序。 只能ps | grep proxy 然后kill pid这样的方法吗? 没有 proxy stop ?类似的命令?
kerem closed this issue 2026-02-27 23:15:28 +03:00
Author
Owner

@LunacyZeus commented on GitHub (Nov 20, 2018):

ps -ef|grep socks5_conf.txt|grep -v grep|cut -c 9-15|xargs kill -9 >/dev/null 2>&1

<!-- gh-comment-id:440252879 --> @LunacyZeus commented on GitHub (Nov 20, 2018): ps -ef|grep socks5_conf.txt|grep -v grep|cut -c 9-15|xargs kill -9 >/dev/null 2>&1
Author
Owner

@daoiqi commented on GitHub (Nov 25, 2018):

想象应该有 stop 命令,应该是能够记录pid,然后给pid发送kill信号

<!-- gh-comment-id:441418032 --> @daoiqi commented on GitHub (Nov 25, 2018): 想象应该有 stop 命令,应该是能够记录pid,然后给pid发送kill信号
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/goproxy#107
No description provided.