#!/bin/sh

php-fpm -D && \
supervisord -c  /etc/supervisord.conf && \
crond && \
chgrp -R nginx /var/www/application/storage && \
chown -R nginx /var/www/application/storage && \
nginx -g 'daemon off;'