FTL
FTL copied to clipboard
Do not restart FTL while `pihole -g` is still ongoing
What does this implement/fix?
Do not try to restart FTL when a streamed pihole -g run is still ongoing. This to prevent being stuck in a situation where FTL has shut down 99% and cannot serve DNS until pihole -g finished running.
Related issue or feature (if applicable): Fixes #2395
Pull request in docs with documentation (if applicable): N/A
By submitting this pull request, I confirm the following:
- I have read and understood the contributors guide, as well as this entire template. I understand which branch to base my commits and Pull Requests against.
- I have commented my proposed changes within the code.
- I am willing to help maintain this change if there are issues with it later.
- It is compatible with the EUPL 1.2 license
- I have squashed any insignificant commits. (
git rebase)
Checklist:
- [x] The code change is tested and works locally.
- [x] I based my code and PRs against the repositories
developmentalbranch. - [x] I signed off all commits. Pi-hole enforces the DCO for all contributions
- [x] I signed all my commits. Pi-hole requires signatures to verify authorship
- [x] I have read the above and my PR is ready for review.