show-runit/service/fakeapp2/log/run
2016-07-16 18:09:54 +02:00

10 lines
198 B
Bash

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