From 322c77e8a64e7425b528c0cc0511d1b48bede08b Mon Sep 17 00:00:00 2001 From: th33xitus Date: Thu, 10 Feb 2022 21:31:55 +0100 Subject: [PATCH] feat: add fake list-unit output this will trick moonraker into thinking that there are actual klipper and moonraker services available --- docker/service_control.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docker/service_control.sh b/docker/service_control.sh index fe7657c..fa08ed5 100644 --- a/docker/service_control.sh +++ b/docker/service_control.sh @@ -1,4 +1,10 @@ -#!/bin/sh +#!/bin/bash + +if [ "$1" = "list-units" ]; then + echo "klipper.service loaded active running Klipper Dummy Service" + echo "moonraker.service loaded active running Moonraker Dummy Service" + exit 0 +fi if [ "$2" = "klipper" ]; then sudo /usr/bin/supervisorctl "$1" simulavr "$2"