mirror of
https://github.com/idanoo/pixelfed-upgrade-script
synced 2025-07-01 05:42:16 +00:00
Clean up & comment
This commit is contained in:
parent
b7437dbf52
commit
aed90cda09
1 changed files with 3 additions and 5 deletions
|
@ -3,6 +3,7 @@
|
|||
# CONFIGURATION #
|
||||
WEB_ROOT=/var/www/pixelfed
|
||||
WEB_USER=www-data
|
||||
HORIZON_SERVICE=horizon.service
|
||||
# END CONFIGURATION #
|
||||
|
||||
set +x
|
||||
|
@ -14,8 +15,5 @@ su - $WEB_USER -s /bin/bash -c "cd $WEB_ROOT && php artisan config:cache"
|
|||
su - $WEB_USER -s /bin/bash -c "cd $WEB_ROOT && php artisan route:cache"
|
||||
su - $WEB_USER -s /bin/bash -c "cd $WEB_ROOT && php artisan migrate --force"
|
||||
|
||||
# Make sure we restart workers on new code too
|
||||
sudo systemctl restart horizon.service
|
||||
|
||||
#su - $WEB_USER -s /bin/bash -c "cd $WEB_ROOT && php artisan horizon:purge"
|
||||
#su - $WEB_USER -s /bin/bash -c "cd $WEB_ROOT && php artisan storage:link"
|
||||
# Make sure we restart Horizon workers too
|
||||
sudo systemctl restart $HORIZON_SERVICE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue