nginx does not write to /dev/log

This commit is contained in:
Andy 2016-07-16 00:33:59 +02:00
parent ca225dc541
commit 6894fda5df
Signed by: arno
GPG Key ID: 368DDA2E9A471EAC

View File

@ -4,6 +4,8 @@ exec 2>&1
echo $(realpath $0) started echo $(realpath $0) started
set -x set -x
exec chpst -Unobody socklog unix /dev/log 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 socklog unix /dev/log
# exec socat UNIX-LISTEN:/dev/log,reuseaddr,fork - # exec socat UNIX-LISTEN:/dev/log,reuseaddr,fork -