mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-13 21:31:23 +00:00
...
This commit is contained in:
4
cmd/barak/README.md
Normal file
4
cmd/barak/README.md
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
```bash
|
||||||
|
# Maybe in a screen session:
|
||||||
|
cat cmd/barak/seed | ./build/barak
|
||||||
|
```
|
@ -85,8 +85,10 @@ func Create(mode int, label string, execPath string, args []string, input string
|
|||||||
|
|
||||||
func Stop(proc *Process, kill bool) error {
|
func Stop(proc *Process, kill bool) error {
|
||||||
if kill {
|
if kill {
|
||||||
|
fmt.Printf("Killing process %v\n", proc.Cmd.Process)
|
||||||
return proc.Cmd.Process.Kill()
|
return proc.Cmd.Process.Kill()
|
||||||
} else {
|
} else {
|
||||||
|
fmt.Printf("Stopping process %v\n", proc.Cmd.Process)
|
||||||
return proc.Cmd.Process.Signal(os.Interrupt)
|
return proc.Cmd.Process.Signal(os.Interrupt)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user