unifios-utilities/haproxy/update-haproxy.sh
foxy82 8df958c959
Fix haproxy doc (#397)
* Create 21-haproxy.conflist

* Update 21-haproxy.conflist

* Update README.md

* Update README.md

* Update update-haproxy.sh

* Update README.md

* Update README.md
2022-08-08 19:54:49 -07:00

11 lines
227 B
Bash

IMAGE=haproxy:latest
podman pull $IMAGE
podman stop haproxy
podman rm haproxy
podman run -d --net=host --restart always \
--name haproxy \
--hostname ha.proxy \
-v "/mnt/data/haproxy/:/usr/local/etc/haproxy/" \
$IMAGE