MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / runRestart

Method runRestart

internal/apps/app_cmd.go:243–247  ·  view source on GitHub ↗

重启

()

Source from the content-addressed store, hash-verified

241
242// 重启
243func (this *AppCmd) runRestart() {
244 this.runStop()
245 time.Sleep(1 * time.Second)
246 this.runStart()
247}
248
249// 状态
250func (this *AppCmd) runStatus() {

Callers 1

RunMethod · 0.95

Calls 2

runStopMethod · 0.95
runStartMethod · 0.95

Tested by

no test coverage detected