You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
343 B
12 lines
343 B
#!/bin/sh
|
|
# Collect all logs which come to /dev/log
|
|
exec 2>&1
|
|
echo $(realpath $0) started
|
|
|
|
set -x
|
|
touch /var/log/nginx/access.log /var/log/nginx/error.log
|
|
exec tail -f /var/log/nginx/access.log /var/log/nginx/error.log
|
|
# exec chpst -Unobody socklog unix /dev/log
|
|
# exec socklog unix /dev/log
|
|
# exec socat UNIX-LISTEN:/dev/log,reuseaddr,fork -
|