From 874e9d0871bf0f2cc0bbe91361a9507605d652fb Mon Sep 17 00:00:00 2001 From: Liz Cray Date: Thu, 8 Aug 2024 09:15:53 -0400 Subject: [PATCH] Typo in symlink --- setup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.sh b/setup.sh index e356478..7a7ea8e 100755 --- a/setup.sh +++ b/setup.sh @@ -240,6 +240,7 @@ echo.Cyan "Setup Klipper Python Virtual Environment" cd $ROOT_DIR/$PRINTER_NAME /usr/bin/virtualenv klippy-env $ROOT_DIR/$PRINTER_NAME/klippy-env/bin/pip install -r $ROOT_DIR/$PRINTER_NAME/klipper/scripts/klippy-requirements.txt +touch $ROOT_DIR/$PRINTER_NAME/printer_data/comms/klippy.sock # Setup moonraker python env echo.Cyan "Setup Moonraker Python Virtual Environment" @@ -293,6 +294,8 @@ done # Cleanup $HOME/$PRINTER_NAME/moonraker/scripts/set-policykit-rules.sh -z +ln -s $HOME/$PRINTER_NAME/mainsail-config/client.cfg $HOME/$PRINTER_NAME/printer_data/config/mainsail.cfg +sudo systemctl restart $PRINTER_NAME-klipper.service sudo systemctl restart $PRINTER_NAME-moonraker.service echo.BoldCyan "${PRINTER_NAME} is setup with moonraker on port ${NEW_PORT}" sudo nginx -t