Commit 0a822209 authored by Daniel's avatar Daniel Committed by GitHub

Fix :supervisor work dir

parent 3baac140
......@@ -144,6 +144,9 @@ func init() {
if err = parseConfig(appConfigPath); err != nil {
panic(err)
}
if err = os.Chdir(AppPath); err != nil {
panic(err)
}
}
func recoverPanic(ctx *context.Context) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment