diff --git a/update b/update index 3b11666..af3b66f 100755 --- a/update +++ b/update @@ -9,5 +9,8 @@ echo "collecting static files ..." cd /home/willipink/coinmanager/coinmanager pipenv run python manage.py collectstatic --settings coinmanager.production_settings --no-input +echo "owning everything ..." +sudo chown -r willipink:www-data /home/willipink/coinmanager + echo "reloading apache ..." sudo systemctl reload apache2