mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #643] Background client on start #502
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#502
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 @travisghansen on GitHub (Feb 25, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/643
I'm looking to use the client in a CI environment. Ideally I'd be able to start the client and have it exit (cleanly or not) immediately so the subsequent series of commands could be run which an understanding of tunnel up/down. In my case backgrounding and doing a port check isn't super-helpful as I'm using the http type.
@fatedier commented on GitHub (Feb 26, 2018):
nohupto let client run on background?frpc -c ./frpc.ini statusand you can get all status of proxies.@travisghansen commented on GitHub (Feb 27, 2018):
Yeah, I was looking into that. Not ideal but possible, thanks for the pointer.
@yanggis commented on GitHub (Feb 27, 2018):
try supervisor
@travisghansen commented on GitHub (Feb 28, 2018):
Thanks for the suggestion. Supervisor doesn't fit the need here really and would be overkill. I'm sure I can find a solution using nohup or the like...just would be nice to have a daemonize option that could exit non zero if tunnel(s) failed.