This commit is contained in:
Vague Rabbit 2021-02-04 21:33:51 -08:00
parent 53c820d719
commit 111b6c8167

View file

@ -624,10 +624,10 @@ wait
sudo chown -R $UN:www-data $HD/saleor sudo chown -R $UN:www-data $HD/saleor
wait wait
# Run the uwsgi socket and create it for the first time # Run the uwsgi socket and create it for the first time
sudo uwsgi --ini $HD/saleor/saleor/wsgi/uwsgi.ini --uid www-data --gid www-data --pidfile $HD/saleortemp.pid #sudo uwsgi --ini $HD/saleor/saleor/wsgi/uwsgi.ini --uid www-data --gid www-data --pidfile $HD/saleortemp.pid
sleep 5 #sleep 5
# Stop the uwsgi processes # Stop the uwsgi processes
uwsgi --stop $HD/saleortemp.pid #uwsgi --stop $HD/saleortemp.pid
# Exit the virtual environment here? _#_ # Exit the virtual environment here? _#_
deactivate deactivate
# Move static files to /var/www/$HOST # Move static files to /var/www/$HOST