Debora stop will kill.

This commit is contained in:
Jae Kwon 2015-04-16 18:21:19 -07:00
parent 44565872ae
commit f641558115
2 changed files with 3 additions and 2 deletions

View File

@ -3,8 +3,8 @@
```bash ```bash
# Upgrade barak. # Upgrade barak.
# We need to give it a new seed to prevent port conflicts. # We need to give it a new seed to prevent port conflicts.
./build/debora --privkey-file build/privkey run --input "`cat cmd/barak/seed2`" -- barak2 ./build/barak ./build/debora run --input "`cat cmd/barak/seed2`" -- barak2 ./build/barak
# Build tendermint from source # Build tendermint from source
./build/debora --privkey-file build/privkey run -- build_tendermint bash -c "cd $GOPATH/src/github.com/tendermint/tendermint; make" ./build/debora run -- build_tendermint bash -c "cd $GOPATH/src/github.com/tendermint/tendermint; make"
``` ```

View File

@ -136,6 +136,7 @@ func cliStopProcess(c *cli.Context) {
label := args[0] label := args[0]
command := btypes.CommandStopProcess{ command := btypes.CommandStopProcess{
Label: label, Label: label,
Kill: true,
} }
for _, remote := range Config.Remotes { for _, remote := range Config.Remotes {
response, err := StopProcess(Config.PrivKey, remote, command) response, err := StopProcess(Config.PrivKey, remote, command)