system: update services allowed to restart

This commit is contained in:
alfrix 2022-09-16 09:51:59 -03:00
parent 5f9bd9648a
commit b2d7dda30f

View File

@ -12,7 +12,18 @@ def create_panel(*args):
return SystemPanel(*args)
ALLOWED_SERVICES = ["KlipperScreen", "MoonCord", "klipper", "moonraker", "webcamd"]
# Same as ALLOWED_SERVICES in moonraker
# https://github.com/Arksine/moonraker/blob/master/moonraker/components/machine.py
ALLOWED_SERVICES = (
"crowsnest",
"MoonCord",
"moonraker",
"moonraker-telegram-bot",
"klipper",
"KlipperScreen",
"sonar",
"webcamd",
)
class SystemPanel(ScreenPanel):