title: how to use uwsgi restart django
body: <p>I have a <code>wsgi.ini</code> file in my project, and I use <code>uwsgi wsgi.ini</code> to run my project.But when I change the django code,I want to restart the project instead kill uwsgi then reload it. The uwsgi official document provide the following methods:
  <code>
      # using kill to send the signal
      kill -HUP `cat /tmp/project-master.pid`
      # or the convenience option --reload
      uwsgi --reload /tmp/project-master.pid
      # or if uwsgi was started with touch-reload=/tmp/somefile
      touch /tmp/somefile
  </code>
  But I don't have a <code>project-master.pid</code> file in <code>/tmp</code> catalog in my system(centOS).</p>
  
  <h1>my question:</h1>
  
  <ol>
  <li>how to use uwsgi restart django instead of kill it then start it? </li>
  <li>if use uwsgi official document provided method,how to create a <code>.pid</code> file and what content should in this file? </li>
  </ol>