From 37713f33d04ee1d880be067685f21aa30e3d4a47 Mon Sep 17 00:00:00 2001 From: kaiyou Date: Thu, 18 Oct 2018 08:26:32 +0200 Subject: [PATCH] Run pixelfed update tasks upon startup --- contrib/docker/start.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/docker/start.sh b/contrib/docker/start.sh index 59c54b978..1367b8635 100755 --- a/contrib/docker/start.sh +++ b/contrib/docker/start.sh @@ -8,6 +8,9 @@ php artisan storage:link # Migrate database if the app was upgraded php artisan migrate --force +# Run other specific migratins if required +php artisan update + # Run a worker if it is set as embedded if [ $HORIZON_EMBED = true ]; then php artisan horizon &