UCSPI-TCP

You can use GoCheese as UCSPI-TCP service. For example running it also under daemontools:

# mkdir -p /var/service/.gocheese/log
# cd /var/service/.gocheese

# cat > run <<EOF
#!/bin/sh -e
cd /home/gocheese
umask 077
[ -e passwd ] || mkfifo passwd
( cat passwords.txt > passwd ) &
umask 022
mkdir -p packages
exec setuidgid gocheese tcpserver -DRH -l 0 ::0 8080 \
    gocheese -ucspi -passwd passwd /path/to/packages
EOF

# cat > log/run <<EOF
#!/bin/sh -e
exec setuidgid gocheese multilog t ./main
EOF

# chmod -R 755 /var/service/.gocheese
# mv /var/service/.gocheese /var/service/gocheese