install
https://gist.github.com/toddlers/9364259
wget http://cr.yp.to/daemontools/daemontools-0.76.tar.gz
tar -xzvf daemontools-0.76.tar.gz
rm daemontools-0.76.tar.gz
cd admin/daemontools-0.76
echo gcc -O2 -include /usr/include/errno.h > src/conf-cc
./package/install
https://zpz.github.io/blog/log-rotation-of-stdout/
python -u myapp.py 2>&1 | tee >(multilog s1000000 n10 /path-to-log/myapp)