Add initial Klipper with Moonraker setup. Untested.
This commit is contained in:
10
3dprinter-klipper/rootfs/etc/services.d/klippy/run
Normal file
10
3dprinter-klipper/rootfs/etc/services.d/klippy/run
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
# ==============================================================================
|
||||
# Add-on: 3dprinter-Klipper
|
||||
# Runs Klippy
|
||||
# ==============================================================================
|
||||
|
||||
bashio::log.info "Starting Klippy..."
|
||||
|
||||
## Run your program
|
||||
exec "$KLIPPER_VENV_PATH"/bin/python "$KLIPPER_PATH"/klippy/klippy.py "$ADDON_CONFIG_PATH"/moonraker/config/printer.cfg -a /tmp/klippy_uds -l "$ADDON_CONFIG_PATH"/moonraker/logs/klippy.log
|
||||
Reference in New Issue
Block a user