Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Service rtkbase_gnss_web_proxy.service is not shown in diagnostics #421

Closed
Jef239 opened this issue Jul 30, 2024 · 0 comments
Closed

Service rtkbase_gnss_web_proxy.service is not shown in diagnostics #421

Jef239 opened this issue Jul 30, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Jef239
Copy link

Jef239 commented Jul 30, 2024

Service rtkbase_gnss_web_proxy.service is not shown in diagnostics

I fix it:


@@ -502,8 +505,10 @@ def diagnostic():
     getServicesStatus()
     rtkbase_web_service = {'service_unit' : 'rtkbase_web.service', 'name' : 'RTKBase Web Server', 'active' : True}
+    rtkbase_gnss_web_proxy_service = {'service_unit' : 'rtkbase_gnss_web_proxy.service', 'name' : 'RTKBase Reverse Proxy for Gnss receiver Web Server'}
+    rtkbase_gnss_web_proxy_service["active"] = ServiceController(rtkbase_gnss_web_proxy_service["service_unit"]).isActive()
     logs = []
-    for service in services_list + [rtkbase_web_service]:
+    for service in services_list + [rtkbase_web_service, rtkbase_gnss_web_proxy_service]:
         sysctl_status = subprocess.run(['systemctl', 'status', service['service_unit']],
                                 stdout=subprocess.PIPE,
                                 universal_newlines=True,
                                 
@Stefal Stefal self-assigned this Aug 26, 2024
@Stefal Stefal added the enhancement New feature or request label Aug 26, 2024
@Stefal Stefal closed this as completed in 20932fa Oct 6, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants