restart haproxy

This commit is contained in:
paukstelis
2022-12-29 22:45:02 -05:00
parent b2f1ce88ba
commit 6ea1779435

View File

@@ -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
}