summaryrefslogtreecommitdiff
path: root/httpsconnectd.sh.in
blob: 3d1da777e328d700a0a277845a42e754a7eaa3c1 (plain)
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 -d -d -d OPENSSL-LISTEN:"${port},${ssl_options[*]},reuseaddr,fork" EXEC:httpconnectd