diff --git a/overlay/etc/crontabs/nginx b/overlay/etc/crontabs/nginx index 161c9ce..a7a1cf9 100644 --- a/overlay/etc/crontabs/nginx +++ b/overlay/etc/crontabs/nginx @@ -1,2 +1,2 @@ SHELL=/bin/sh -*/15 * * * * /usr/bin/php -f /var/www/app/app/actualize_script.php +*/15 * * * * /usr/bin/php -f /var/www/app/app/actualize_script.php >/tmp/freshrss_sync.log 2>&1 diff --git a/overlay/usr/local/bin/entrypoint.sh b/overlay/usr/local/bin/entrypoint.sh index 808a3f4..eea4768 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 & -exec php-fpm7 -F & +supercronic /etc/crontabs/nginx & +php-fpm7 -F & exec nginx -g "daemon off;"