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

Safely stopping a maintenance script? #77

Open
ghost opened this issue Mar 10, 2020 · 1 comment
Open

Safely stopping a maintenance script? #77

ghost opened this issue Mar 10, 2020 · 1 comment
Labels

Comments

@ghost
Copy link

ghost commented Mar 10, 2020

Is there a way to safely stop a running maintenenance script? Sometimes they are long running, especially if combined with other I/O. Is there a way to tell systemd to stop the scripts after a specific amount of time, or if system utilisation becomes too high?

@kdave kdave added question and removed question labels Mar 11, 2020
@kdave
Copy link
Owner

kdave commented Mar 11, 2020

I think it should be possible to do with some systemd.service magic and script handling eg. signals.

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

No branches or pull requests

1 participant