mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-20 12:03:16 +00:00
Merge pull request #517 from TeDomum/dev
Run pixelfed update tasks upon startup
This commit is contained in:
commit
77b2e6d3e9
1 changed files with 3 additions and 0 deletions
|
@ -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 &
|
||||
|
|
Loading…
Reference in a new issue