#!/bin/sh -e
cd /path/to/incoming
-exec setuidgid uploader /path/to/uploader -bind "[::]:8086" \
- -notify-from uploader@example.com -notify-to admin@example.com
+exec setuidgid uploader tcpserver -DHR -l 0 ::0 8086 /path/to/uploader -ucspi \
+ -notify-from uploader@example.com -notify-to admin@example.com 2>&1