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