From 09c04311c3b0080b67ad243a64e894b978aafb88 Mon Sep 17 00:00:00 2001 From: paukstelis Date: Tue, 8 Nov 2022 13:33:42 -0500 Subject: [PATCH] picam first test --- README.md | 1 + octoprint_deploy.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index 74a800b..6fa4964 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,7 @@ These files provide a bash script for quickly deploying multiple octoprint insta * haproxy entries are updated so you can connect via http://octopi.local/instancename/ (trailing slash is needed). * Please note, haproxy entries are NOT used for webcams once you use this system. Connect to them via hostname:port. * To add more printers at a later date, just run the script again! + * Want to use a Pi camera? Run the script as `sudo octoprint_deploy/octoprint_deploy.sh picam` and follow the instructions (VERY EXPERIMENTAL). * General Linux (Ubuntu/Mint/RPiOS/Debian/Fedora/Arch/etc.) * __You do not need to install OctoPrint using any Wiki instructions, snap, etc. The script will do it for you.__ * octoprint_deploy uses systemd services, so avoid distros that do not use systemd by default (MX Linux or chroot based systems like Chrome+crouton) diff --git a/octoprint_deploy.sh b/octoprint_deploy.sh index 881b5fa..4e844e6 100755 --- a/octoprint_deploy.sh +++ b/octoprint_deploy.sh @@ -461,6 +461,7 @@ add_camera() { fi systemctl start cam_$INSTANCE.service systemctl enable cam_$INSTANCE.service + systemctl daemon-reload udevadm control --reload-rules udevadm trigger main_menu