diff options
author | Laurent Bercot <ska-adelie@skarnet.org> | 2024-04-15 16:10:12 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2024-04-25 02:48:27 +0000 |
commit | 503e8ce2cbe2e0498f9227e5da4e9a50d9de6b61 (patch) | |
tree | 83bd8ec7631c1ad3b384423d0ad95af8b4f9afd4 /user/tipidee/httpsd.run | |
parent | 0d5a660ecab48aa1174dc3e82e95c27b8d11db79 (diff) | |
download | packages-503e8ce2cbe2e0498f9227e5da4e9a50d9de6b61.tar.gz packages-503e8ce2cbe2e0498f9227e5da4e9a50d9de6b61.tar.bz2 packages-503e8ce2cbe2e0498f9227e5da4e9a50d9de6b61.tar.xz packages-503e8ce2cbe2e0498f9227e5da4e9a50d9de6b61.zip |
user/tipidee: new package
Diffstat (limited to 'user/tipidee/httpsd.run')
-rw-r--r-- | user/tipidee/httpsd.run | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/user/tipidee/httpsd.run b/user/tipidee/httpsd.run new file mode 100644 index 000000000..9d710158a --- /dev/null +++ b/user/tipidee/httpsd.run @@ -0,0 +1,23 @@ +#!/bin/execlineb -S1 + +fdmove -c 2 1 +emptyenv -p +fdmove 1 3 +envfile /etc/conf.d/tipidee +unexport HTTP +unexport HTTPS +multisubstitute +{ + importas -ui TIPIDEED_IPv@V@ TIPIDEED_IPv@V@ + importas -ui TIPIDEED_ROOT TIPIDEED_ROOT + importas -ui KEYFILE KEYFILE + importas -ui CERTFILE CERTFILE + importas -u -D1000 TIPIDEED_CONCURRENCY TIPIDEED_CONCURRENCY + importas -u -D10 TIPIDEED_LOCAL_CONCURRENCY TIPIDEED_LOCAL_CONCURRENCY +} +s6-envuidgid tipideed +export TLS_UID 65534 +export TLS_GID 65534 +cd ${TIPIDEED_ROOT} +s6-tlsserver -1 -U -K 5000 -c ${TIPIDEED_CONCURRENCY} -C ${TIPIDEED_LOCAL_CONCURRENCY} -- ${TIPIDEED_IPv@V@} 443 +tipideed |