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

cli: unix: catch SIGTERM in addition to SIGINT and terminate gracefully #4463

Merged
merged 3 commits into from
Jul 7, 2021

Conversation

mina86
Copy link
Contributor

@mina86 mina86 commented Jul 6, 2021

The ‘kill’ command sends SIGTERM signal by default. Catch it in
addition ta SIGINT when running under Unix-like system.

Issue: #3266

The default signal ‘kill’ command sends is SIGTERM so catch it in
addition ta SIGINT when running under Unix-like system.

Issue: near#3266
@mina86 mina86 requested review from bowenwang1996 and frol as code owners July 6, 2021 15:52
neard/src/cli.rs Outdated Show resolved Hide resolved
Co-authored-by: Aleksey Kladov <[email protected]>
@mina86 mina86 enabled auto-merge (squash) July 6, 2021 16:16
@mina86 mina86 merged commit 056f789 into near:master Jul 7, 2021
@mina86 mina86 deleted the term branch July 7, 2021 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants