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