Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[201811][bgp_speaker] Terminate all processes with 'exabgp' in the command line #1908

Merged
merged 1 commit into from
Jul 15, 2020
Merged

[201811][bgp_speaker] Terminate all processes with 'exabgp' in the command line #1908

merged 1 commit into from
Jul 15, 2020

Conversation

jleveque
Copy link
Contributor

Add -f flag to pkill so that it will send the signal to processes where "exabgp" appears anywhere in the command line. Without this flag, it only sends the signal to processes where "exabgp" is the actual file being executed, thus leaving two sh exabgp/start.sh processes running. This change ensures all "exabgp" processes as well as the sh exabgp/start.sh processes are stopped.

Also update comment to be more precise about what signal is being sent, in case we need to be more forceful in the future, we could send SIGKILL instead.

@jleveque jleveque changed the title [bgp_speaker] Terminate all processes with 'exabgp' in the command line [201811][bgp_speaker] Terminate all processes with 'exabgp' in the command line Jul 15, 2020
@jleveque jleveque merged commit b271f7e into sonic-net:201811 Jul 15, 2020
@jleveque jleveque deleted the fix_kill_exabgp_201811 branch July 15, 2020 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants