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

Make startup scripts robust #37

Merged
merged 3 commits into from
Aug 30, 2024
Merged

Make startup scripts robust #37

merged 3 commits into from
Aug 30, 2024

Conversation

lildude
Copy link
Owner

@lildude lildude commented Aug 30, 2024

A couple of issues recently have highlighted a few weaknesses in the startup scripts for Nginx and TeslaMate. This PR makes those more robust.

  • Nginx will now remove /run/nginx if it's a file and it exists before creating the directory, which it'll now do with mkdir -p.

  • TeslaMate will no longer fail to start if there is a problem with loading the Grafana dashboards.

  • The dashboards script will now provide more information in the event of an error.

Closes #32
Closes #36

@lildude lildude merged commit 04e01df into main Aug 30, 2024
1 check passed
@lildude lildude deleted the make-scripts-robust branch August 30, 2024 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant