Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

Stop.sh should make sure that the process has been killed #213

Open
jesus-alastria opened this issue May 29, 2018 · 0 comments
Open

Stop.sh should make sure that the process has been killed #213

jesus-alastria opened this issue May 29, 2018 · 0 comments

Comments

@jesus-alastria
Copy link
Contributor

if [[ "$NODE_TYPE" == "general" ]]; then
pkill -f constellation-node
fi
pkill -f geth

After calling pkill (both for constellation and geth), the script should make sure that the process has been actually stopped, for example calling pgrep and sleeping in a loop several times until pgrep does not return anything, or reporting an error otherwise.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant