Skip to content

Commit

Permalink
chore: set 0o666 to unix socket file
Browse files Browse the repository at this point in the history
  • Loading branch information
wwqgtxx committed Sep 27, 2024
1 parent a67c379 commit 2647135
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hub/route/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ func startUnix(cfg *Config) {
log.Errorln("External controller unix listen error: %s", err)
return
}
_ = os.Chmod(addr, 0o666)
log.Infoln("RESTful API unix listening at: %s", l.Addr().String())

server := &http.Server{
Expand Down

0 comments on commit 2647135

Please sign in to comment.