docker_ssl_endpoint/start.sh

11 lines
178 B
Bash
Raw Normal View History

2016-04-03 09:08:55 +02:00
#!/bin/bash
if [ -s /data/haproxy/cert.pem ]
then
# ssl cert seems to exist, so start with
/usr/sbin/haproxy -f /haproxy_ssl.conf -p /haproxy.pid -db
else
bash
fi