- # cat > stunnel.conf <<EOF
- foreground = yes
- syslog = no
- debug = 3
- cert = paster.example.com.pem
- exec = $GOPATH/bin/paster
- execArgs = $GOPATH/bin/paster http://paster.example.com/
- EOF
- # chown paster stunnel.conf
-
-and run "stunnel /path/to/stunnel.conf" in service/paster.
+ exec setuidgid paster tcpserver -DHR -l 0 ::0 2021 tlss \
+ -key paster.example.com.key.pem -cert paster.example.com.pem \
+ $GOPATH/bin/paster http://paster.example.com/ 2>&1