github.com/openshift/installer@v1.4.17/upi/vsphere/lb/haproxy.service (about)

     1  [Unit]
     2  Description=haproxy
     3  After=network-online.target
     4  Wants=network-online.target
     5  
     6  [Service]
     7  TimeoutStartSec=0
     8  ExecStartPre=-/bin/podman kill haproxy
     9  ExecStartPre=-/bin/podman rm haproxy
    10  ExecStartPre=/bin/podman pull quay.io/openshift/origin-haproxy-router
    11  ExecStart=/bin/podman run --name haproxy \
    12    --net=host \
    13    --privileged \
    14    --entrypoint=/usr/sbin/haproxy \
    15    -v /etc/haproxy/haproxy.conf:/var/lib/haproxy/conf/haproxy.conf:Z \
    16    quay.io/openshift/origin-haproxy-router -f /var/lib/haproxy/conf/haproxy.conf
    17  ExecStop=/bin/podman rm -f haproxy
    18  
    19  [Install]
    20  WantedBy=multi-user.target
    21