Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default working directory is root(/), can your support worker directory is current exec path directory #62

Open
lixianliang opened this issue Oct 23, 2017 · 4 comments

Comments

@lixianliang
Copy link

conf = flag.String("c", "conf/http2thrift.yaml", "set configuration file")
config path is relative path,but use daemon worker dir is root(/),can you support working dir change to exec path directory。
now i must set an obsolute path。

@derkan
Copy link
Contributor

derkan commented Oct 24, 2017

Try calling ExecPath

@lixianliang
Copy link
Author

but I want to change worker dir to exec path。

@gunsluo
Copy link

gunsluo commented Nov 12, 2017

i have the same problem. want to set any working directory, not only root(/). how to do it? ths.

This was referenced Mar 17, 2018
@acamilleri
Copy link
Contributor

@takama up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants