Browse Source

增加端口

master
xyiege 5 months ago
parent
commit
c322d5ab50
  1. 9
      aufs/main.go

9
aufs/main.go

@ -59,7 +59,7 @@ func main() {
os.Exit(1)
}
config.G.LocalIP = lcip
//
// 监控目录
flag := args[1]
if flag == "-t" {
wkdir := args[2]
@ -74,6 +74,13 @@ func main() {
// current work directory
config.G.FilePath = curdir
}
// 监控端口
tpflag := args[3]
if tpflag == "-p" {
config.G.Port = args[4]
} else {
config.G.Port = "9099"
}
// web service
startWeb()
}

Loading…
Cancel
Save