refactor(octoprint.sh): octoprint instance setup

one dedicated env for each instance. allows independent installation of plugins. previously, all instances shared the same env and therefore all plugins.

Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
th33xitus
2022-04-18 01:29:08 +02:00
parent 856fa8dfa5
commit 28782e910e
2 changed files with 116 additions and 141 deletions

View File

@@ -54,9 +54,6 @@ function set_globals(){
KLIPPERSCREEN_DIR="${HOME}/KlipperScreen"
KLIPPERSCREEN_REPO=https://github.com/jordanruthe/KlipperScreen.git
#================ OCTOPRINT ===================#
OCTOPRINT_ENV="${HOME}/OctoPrint"
#========== MOONRAKER-TELEGRAM-BOT ============#
MOONRAKER_TELEGRAM_BOT_ENV_DIR=${HOME}/moonraker-telegram-bot-env
MOONRAKER_TELEGRAM_BOT_DIR=${HOME}/moonraker-telegram-bot