#!/bin/sh # file: nginx/log/run # Collect all logs which come to stdout from the app exec 2>&1 echo $(realpath $0) started mkdir /var/log/nginx 2>/dev/null exec svlogd -tt /var/log/nginx