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

runOn__Stop - Add extra command to send on stop? #1464

Closed
gluedots opened this issue Feb 10, 2023 · 2 comments · Fixed by #2355
Closed

runOn__Stop - Add extra command to send on stop? #1464

gluedots opened this issue Feb 10, 2023 · 2 comments · Fixed by #2355
Labels
enhancement New feature or request general

Comments

@gluedots
Copy link

Describe the feature

Could we get a separate runOn__Stop option that will run a command on stop?

I know this can be achieved by waiting for the SIGINT signal on the regular runOn commands, but waiting for the signal requires an extra process to be running in the background just waiting there.

It would be great if we could have an extra option that could trigger a command when the SIGINT would normally be sent. This would help run some cleanup scripts when something stop.

RunOnDemand
RunOnDemandStop

RunOnReady
RunOnReadyStop

RunOnRead
RunOnReadStop

runOnConnect
runOnConnectStop
@gluedots gluedots changed the title runOn__Stop - Add extra command to send command on stop? runOn__Stop - Add extra command to send on stop? Feb 10, 2023
@aler9 aler9 added enhancement New feature or request general labels Mar 9, 2023
@aler9
Copy link
Member

aler9 commented Sep 16, 2023

added in v1.1.0

Copy link
Contributor

This issue is being locked automatically because it has been closed for more than 6 months.
Please open a new issue in case you encounter a similar problem.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request general
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants