#!/usr/bin/env bash # Copyright 2016 Luke Shumaker # License: WTFPLv2 # Dependencies: # - bash # - socat (with OpenSSL support) # - httpconnectd set -e source @pkgconfdir@/https.conf IFS=, socat OPENSSL-LISTEN:"${port},${ssl_options[*]},reuseaddr,fork" EXEC:httpconnectd