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 support for custom pre-run and post-run scripts #50

Open
Chronial opened this issue Oct 31, 2021 · 2 comments
Open

Add support for custom pre-run and post-run scripts #50

Chronial opened this issue Oct 31, 2021 · 2 comments

Comments

@Chronial
Copy link
Owner

We have two PRs (#26, #46) that want to run specific non-snapraid functionality before / after the snapraid run itself. I consider these specific things clearly out of scope for snapraid-runner, but having a way to run a custom command within snapraid-runner's logging/email umbrella seems a rather sensible thing to have.

This could probably be solved by having two "pre-run-command", "post-run-command" config options.

@kyleinprogress
Copy link

Just wanted to add my +1 as support for this functionality.

I've started having issues where the process fails because other services are running. If there was a "pre run" and "post run" command I could tag into, I could start and stop those services and prep the environment for snapraid to run.

@omarmir
Copy link

omarmir commented Dec 8, 2022

Would love this feature. I would like to integrate Pushover and possibly a dashboard I'm building for my various monitoring services etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants