From 6ea17794351fac6e6e4b81e60a6bc3450c995c32 Mon Sep 17 00:00:00 2001 From: paukstelis Date: Thu, 29 Dec 2022 22:45:02 -0500 Subject: [PATCH] restart haproxy --- octoprint_deploy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/octoprint_deploy.sh b/octoprint_deploy.sh index 15c2ba8..15c0966 100755 --- a/octoprint_deploy.sh +++ b/octoprint_deploy.sh @@ -388,6 +388,7 @@ write_camera() { echo " server webcam1 127.0.0.1:$CAMPORT" >> /etc/haproxy/haproxy.cfg fi echo "#cam_$INSTANCE stop" >> /etc/haproxy/haproxy.cfg + systemctl restart haproxy fi }