mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-26 16:15:25 +00:00
9 lines
175 B
Text
9 lines
175 B
Text
|
#!/bin/bash
|
||
|
# Forwards the Nginx error.log to the Docker logs.
|
||
|
set -e
|
||
|
if [[ -e /var/log/nginx/error.log ]]; then
|
||
|
exec tail -F /var/log/nginx/error.log
|
||
|
else
|
||
|
exec sleep 10
|
||
|
fi
|