Browse Source

Debora stop will kill.

pull/55/head
Jae Kwon 10 years ago
parent
commit
f641558115
2 changed files with 3 additions and 2 deletions
  1. +2
    -2
      cmd/debora/README.md
  2. +1
    -0
      cmd/debora/main.go

+ 2
- 2
cmd/debora/README.md 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"
``` ```

+ 1
- 0
cmd/debora/main.go 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)


Loading…
Cancel
Save