mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 08:25:54 +03:00
[GH-ISSUE #177] 如何结束deamon启动进程 #107
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#107
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 @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 ?类似的命令?
@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
@daoiqi commented on GitHub (Nov 25, 2018):
想象应该有 stop 命令,应该是能够记录pid,然后给pid发送kill信号