Browse Source

Add comments for debugging

FREEZE-blogpost-2021-01-19
Daniel Gräber 7 years ago
parent
commit
b37487dcef
  1. 3
      Vagrantfile
  2. 6
      ansible/files/uwsgi.ini

3
Vagrantfile

@ -27,6 +27,9 @@
# When the VM is getting rebooted vagrant mounts the shared folder after uWSGI is getting startet. To fix this issue for
# the moment you need to 'vagrant ssh' into the VM and execute 'sudo service uwsgi restart'.
#
# For debugging with _pudb_ stop uWSGI service and start it manually
# 'sudo uwsgi --ini /etc/uwsgi/apps-available/isso.ini'.
#
# Enjoy!
Vagrant.configure(2) do |config|

6
ansible/files/uwsgi.ini

@ -16,5 +16,9 @@ module = isso.run
env = ISSO_SETTINGS=/vagrant/share/isso-dev.conf
env = PYTHON_EGG_CACHE=/tmp
daemonize = /var/log/uwsgi/uwsgi.log
# uncomment for debugging
# daemonize = /var/log/uwsgi/uwsgi.log
py-autoreload = 1
# prevent uWSGI from remapping stdin to /dev/null
honour-stdin = true
Loading…
Cancel
Save