nginx/service/logger/run

10 lines
220 B
Plaintext
Raw Normal View History

2016-07-15 22:04:18 +00:00
#!/bin/sh
# Collect all logs which come to /dev/log
exec 2>&1
echo $(realpath $0) started
set -x
exec chpst -Unobody socklog unix /dev/log
# exec socklog unix /dev/log
# exec socat UNIX-LISTEN:/dev/log,reuseaddr,fork -