Compare commits
2 Commits
cf033b6107
...
fdb0a7baa5
| Author | SHA1 | Date | |
|---|---|---|---|
| fdb0a7baa5 | |||
| fa8b78efed |
@ -447,10 +447,7 @@ func (hc *houstonClient) restartChildProcess(req *shared.RestartProcessRequest,
|
|||||||
|
|
||||||
proc.state = protos.ProcessState_Restart
|
proc.state = protos.ProcessState_Restart
|
||||||
op.Refresh(context.Background(), hc.makeOperationQueryRequest())
|
op.Refresh(context.Background(), hc.makeOperationQueryRequest())
|
||||||
|
hc.exitChan <- proc.cmd
|
||||||
if err := proc.cmd.Process.Signal(syscall.SIGTERM); err != nil {
|
|
||||||
proc.cmd.Process.Signal(os.Kill)
|
|
||||||
}
|
|
||||||
|
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user