Merge branch 'feature/local-service-monitor' of https://github.com/iotux/uptime-kuma into feature/local-service-monitor

This commit is contained in:
iotux 2026-01-01 09:55:14 +01:00
commit 2c47174a04
2 changed files with 1 additions and 3 deletions

View File

@ -15,7 +15,6 @@ class SystemServiceMonitorType extends MonitorType {
* @returns {Promise<void>} Resolves when check is complete. * @returns {Promise<void>} Resolves when check is complete.
*/ */
async check(monitor, heartbeat) { async check(monitor, heartbeat) {
// Use the new variable name 'system_service_name' to match the monitor type change
const serviceName = monitor.system_service_name; const serviceName = monitor.system_service_name;
if (!serviceName) { if (!serviceName) {

View File

@ -696,8 +696,7 @@
{{ $t("systemServiceExpectedOutput", ["active"]) }} {{ $t("systemServiceExpectedOutput", ["active"]) }}
</div> </div>
</div> </div>
<div v-else-if="$root.info.runtime.platform === 'win32'" class="mt-2">
<div v-if="$root.info.runtime.platform === 'win32'" class="mt-2">
<div> <div>
<i18n-t keypath="systemServiceCommandHint" tag="span"> <i18n-t keypath="systemServiceCommandHint" tag="span">
<template #command> <template #command>