diff --git a/kiauh/core/instance_manager/base_instance.py b/kiauh/core/instance_manager/base_instance.py index 06f2a27..18af206 100644 --- a/kiauh/core/instance_manager/base_instance.py +++ b/kiauh/core/instance_manager/base_instance.py @@ -16,8 +16,9 @@ from typing import List from utils.fs_utils import get_data_dir -SUFFIX_BLACKLIST: List[str] = ["None", "mcu", "obico", "bambu", "companion"] - +# suffixes that are not allowed to be used for instances +# because they would cause conflicts with other components or are reserved +SUFFIX_BLACKLIST: List[str] = ["None", "mcu", "obico", "bambu", "companion", "hmi"] @dataclass(repr=True) class BaseInstance: diff --git a/scripts/moonraker.sh b/scripts/moonraker.sh index 7c4d8bd..4f2e49d 100644 --- a/scripts/moonraker.sh +++ b/scripts/moonraker.sh @@ -27,7 +27,7 @@ function moonraker_systemd() { ### # any moonraker client that uses "moonraker" in its own name must be blacklisted using # this variable, otherwise they will be falsely recognized as moonraker instances - blacklist="obico" + blacklist="obico|hmi|telegram-bot" ignore="${SYSTEMD}/moonraker-(${blacklist}).service" match="${SYSTEMD}/moonraker(-[0-9a-zA-Z]+)?.service"