Commit a4b6ddb0 authored by Michał Woźniak's avatar Michał Woźniak

Update root/entrypoint.sh

parent 429e802d
......@@ -20,6 +20,9 @@ if [ "$1" = "wallabag" ] || [ "$1" = "migrate" ];then
# run migrations
cd /var/www/wallabag/
su -c "bin/console doctrine:migrations:migrate --env=prod --no-interaction" -s /bin/sh nobody
# some things do not seem to be handled by migrations, sadly
# https://github.com/wallabag/wallabag/pull/3868
su -c "bin/console wallabag:install --env=prod --no-interaction" -s /bin/sh nobody
# run php-fpm7
exec php-fpm7 -F
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment