Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
// 重启
243
func
(this *AppCmd) runRestart() {
244
this.runStop()
245
time.Sleep(1 * time.Second)
246
this.runStart()
247
}
248
249
// 状态
250
func
(this *AppCmd) runStatus() {
Callers
1
Run
Method · 0.95
Calls
2
runStop
Method · 0.95
runStart
Method · 0.95
Tested by
no test coverage detected