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

provide sia config option to exit process if run_after script fails #2580

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

havetisyan
Copy link
Collaborator

Description

provide sia config option to exit process if run_after script fails

{
"run_after": "/opt/bin/script-to-run.sh",
"run_after_fail_exit": true
}

if script-to-runs.sh return failure, the process will exit with return code 1

Contribution Checklist:

  • The pull request does not introduce any breaking changes
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

Attach Screenshots (Optional)

Signed-off-by: Henry Avetisyan <hga@yahooinc.com>
@abvaidya abvaidya merged commit a16110d into master Apr 3, 2024
2 checks passed
@abvaidya abvaidya deleted the run_after_fail branch April 3, 2024 00:18
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