show-runit/service/fakeapp1/log/run

10 lines
198 B
Plaintext
Raw Permalink Normal View History

2016-07-16 16:09:54 +00:00
#!/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