停止Web服务
()
| 167 | |
| 168 | // 停止Web服务 |
| 169 | func (this *ServiceManager) cmdStop() { |
| 170 | cmd := exec.Command(Tea.Root+Tea.DS+"bin"+Tea.DS+teaconst.SystemdServiceName+".exe", "stop") |
| 171 | err := cmd.Start() |
| 172 | if err != nil { |
| 173 | this.LogError(err.Error()) |
| 174 | } |
| 175 | } |