snapraid-runner icon indicating copy to clipboard operation
snapraid-runner copied to clipboard

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

Open Chronial opened this issue 3 years ago • 2 comments

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.

Chronial avatar Oct 31 '21 11:10 Chronial

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.

kyleinprogress avatar Mar 29 '22 13:03 kyleinprogress

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

omarmir avatar Dec 08 '22 05:12 omarmir