10 lines
198 B
Bash
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
|