docker_ssl_endpoint/start.sh
Joachim Lusiardi a57fa08340 First semiworking iteration
Container can be started with empty data directory.
After using docker exec the commands from the NOTES file can be
used to create a first cert and additional certs after that.
2016-04-06 20:26:08 +02:00

11 lines
178 B
Bash

#!/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