-
Notifications
You must be signed in to change notification settings - Fork 514
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
Background colours for service status list on admin page #1150
Comments
You could always check the status of the service? Can't check how from here, but would it not be better, rather than just look for a process (which is a very binary state), to use |
So a quick test here;
On a non existent service
I think this would be better than a |
Nice update. Yes, probably best remove for non emonPi systems to avoid confusion. |
No, I think you could check for all systems and just include when a service is found. I'd certainly like it. The command is non-intrusive so checking when it does not exist would not be an issue. Not sure how it would respond if it was still the init.d version though. |
@glynhudson @emrysr I have been trying to load the output of the command If I could, I'd do a PR 😦! I'd suggest putting the output into the view as
Cheers - a really good enhancement. |
issue continues in issue #1164 |
I've merged pull request: #1134
@glynhudson @borpin @Paul-Reed the services all show up as red if not running, which is fine for emonpi/emonbase but may be confusing for installs that dont use these services as they are all optional.
I could remove the background colouring if $allow_emonpi_admin is true perhaps? do you have any preferences?
I removed the start,stop,restart and kill buttons for now as they are not yet implemented and I have not yet added any access to logs, which would be great to add in future.
The text was updated successfully, but these errors were encountered: