#!/usr/bin/env bash
# Copyright 2016 Luke Shumaker
# License: WTFPLv2

# Dependencies:
# - bash
# - socat (with OpenSSL support)
# - httpconnectd

set -e
source /etc/httpconnectd/https.conf
IFS=,
socat OPENSSL-LISTEN:"${port},${ssl_options[*]},reuseaddr,fork" EXEC:httpconnectd
