restart haproxy
This commit is contained in:
1 parent
b2f1ce88ba
commit
6ea1779435
1 file changed
+1
@@ -388,6 +388,7 @@ write_camera() {
|
|||||||
echo " server webcam1 127.0.0.1:$CAMPORT" >> /etc/haproxy/haproxy.cfg
|
echo " server webcam1 127.0.0.1:$CAMPORT" >> /etc/haproxy/haproxy.cfg
|
||||||
fi
|
fi
|
||||||
echo "#cam_$INSTANCE stop" >> /etc/haproxy/haproxy.cfg
|
echo "#cam_$INSTANCE stop" >> /etc/haproxy/haproxy.cfg
|
||||||
|
systemctl restart haproxy
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user