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