diff --git a/provisioning/bootstrap.sh b/provisioning/bootstrap.sh index b65df7c..9a5849d 100644 --- a/provisioning/bootstrap.sh +++ b/provisioning/bootstrap.sh @@ -56,7 +56,7 @@ cd /vagrant sudo -H -u vagrant \ DJANGO_SETTINGS_MODULE=$SETTINGS_MODULE \ bash -c ". ~/venv/bin/activate && bash provisioning/prepare_django.sh" -/home/vagrant/venv/bin/python manage.py collectstatic --noinput --settings $SETTINGS_MODULE +sudo -H -u vagrant /home/vagrant/venv/bin/python manage.py collectstatic --noinput --settings $SETTINGS_MODULE # Mails mkdir -p /var/mail/django