default working directory is root(/), can your support worker directory is current exec path directory
Opened this issue · 4 comments
lixianliang commented
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 commented
Try calling ExecPath
lixianliang commented
but I want to change worker dir to exec path。
gunsluo commented
i have the same problem. want to set any working directory, not only root(/). how to do it? ths.
acamilleri commented
@takama up