1 2 3 4 5 6 7 8 9 10 11 12 13
#!/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