|
|
@@ -88,7 +88,7 @@ func sshdStatusHandler(w http.ResponseWriter, r *http.Request) {
|
|
|
return
|
|
|
}
|
|
|
|
|
|
- status := "🔴 YFKJ-SSHD"
|
|
|
+ status := noValue
|
|
|
cmd := exec.Command("systemctl", "is-active", "yfkj-sshd-mqtt-bridge.service")
|
|
|
if out, err := cmd.Output(); err == nil {
|
|
|
if strings.TrimSpace(string(out)) == "active" {
|