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

Add a signal selection option #70

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

repkam09
Copy link

@repkam09 repkam09 commented Jun 6, 2023

Adds the ability to pass a --signal along with one of the following names SIGHUP, SIGINT, SIGQUIT, SIGABRT, SIGKILL, SIGTERM.

The specified signal will then be passed to kill instead of the default SIGKILL/9.

Usage:

kill-port --signal SIGTERM 9000

@repkam09
Copy link
Author

repkam09 commented Jun 6, 2023

This should provide the behavior requested in Issue #48

@bobber205
Copy link

Much needed change! Would be so handy

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.

2 participants