aports/main/tipidee/httpsd.run
Laurent Bercot 06d83c8600 main/tipidee: upgrade to 0.0.5.1
Optimize build, make usrmerge-ready, add .pc file

Signed-off-by: Laurent Bercot <ska@appnovation.com>
2024-10-10 11:19:42 +02:00

23 lines
543 B
Text

#!/usr/bin/execlineb -S1
fdmove -c 2 1
emptyenv -p
fdmove 1 3
envfile /etc/conf.d/tipidee
unexport HTTP
unexport HTTPS
multisubstitute
{
importas -uSi TIPIDEED_IPv@V@
importas -uSi TIPIDEED_ROOT
importas -uSi KEYFILE
importas -uSi CERTFILE
importas -uSD1000 TIPIDEED_CONCURRENCY
importas -uSD10 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