chore: set 0o666 to unix socket file

This commit is contained in:
wwqgtxx 2024-09-27 22:36:19 +08:00
parent a67c379884
commit 264713571d

View File

@ -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{