diff --git a/src/pages/EditMonitor.vue b/src/pages/EditMonitor.vue index a830b9b5d..4a045a6d4 100644 --- a/src/pages/EditMonitor.vue +++ b/src/pages/EditMonitor.vue @@ -619,30 +619,32 @@ {{ $t("systemServiceDescription", {service_name: monitor.system_service_name || 'nginx'}) }} -
systemctl is-active {{ monitor.system_service_name || 'nginx' }}
-
- systemctl is-active {{ monitor.system_service_name || 'nginx' }}
+
+ (Get-Service -Name '{{ (monitor.system_service_name || 'Dnscache').replaceAll("'", "''") }}').Status
+
+ (Get-Service -Name '{{ monitor.system_service_name || 'Dnscache' }}').Status
-
-