mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-15 19:22:53 +08:00
chore: set 0o666 to unix socket file
Some checks failed
Trigger CMFA Update / trigger-CMFA-update (push) Has been cancelled
Some checks failed
Trigger CMFA Update / trigger-CMFA-update (push) Has been cancelled
This commit is contained in:
parent
a67c379884
commit
264713571d
|
@ -228,6 +228,7 @@ func startUnix(cfg *Config) {
|
||||||
log.Errorln("External controller unix listen error: %s", err)
|
log.Errorln("External controller unix listen error: %s", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
_ = os.Chmod(addr, 0o666)
|
||||||
log.Infoln("RESTful API unix listening at: %s", l.Addr().String())
|
log.Infoln("RESTful API unix listening at: %s", l.Addr().String())
|
||||||
|
|
||||||
server := &http.Server{
|
server := &http.Server{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user