From 3d78466c33dbcec2ac7f0921205fcdecc150fbab Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 4 Oct 2019 09:02:25 +0200 Subject: [PATCH] remove stdout redirect for supercronic --- CHANGELOG.md | 3 +-- overlay/usr/local/bin/entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2557e28..f225ac6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,2 @@ * ENHANCEMENT - * better error handling in entrypoint script - * add env variable for custom DB port + * remove stdout redirect for the supercronic main process diff --git a/overlay/usr/local/bin/entrypoint.sh b/overlay/usr/local/bin/entrypoint.sh index ba40826..b14618e 100755 --- a/overlay/usr/local/bin/entrypoint.sh +++ b/overlay/usr/local/bin/entrypoint.sh @@ -34,6 +34,6 @@ if [ -f "/var/www/app/data/do-install.txt" ]; then rm -rf /var/www/app/data/do-install.txt fi -exec supercronic -split-logs /etc/crontabs/nginx 1> /dev/null & +exec supercronic -split-logs /etc/crontabs/nginx exec php-fpm7 -F & exec nginx -g "daemon off;"