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

Update root/

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
su -c "bin/console wallabag:install --env=prod --no-interaction" -s /bin/sh nobody
# run php-fpm7
exec php-fpm7 -F
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