Merge pull request #517 from TeDomum/dev

Run pixelfed update tasks upon startup
This commit is contained in:
daniel 2018-10-21 00:56:34 -06:00 committed by GitHub
commit 77b2e6d3e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,9 @@ php artisan storage:link
# Migrate database if the app was upgraded # Migrate database if the app was upgraded
php artisan migrate --force php artisan migrate --force
# Run other specific migratins if required
php artisan update
# Run a worker if it is set as embedded # Run a worker if it is set as embedded
if [ $HORIZON_EMBED = true ]; then if [ $HORIZON_EMBED = true ]; then
php artisan horizon & php artisan horizon &