supervisor will not be extended~ directory=~/mysite will not be extended to /home/user/mysite The document only writes %(here)s to be extended. At the same time, after writing the directory to the absolute path of mysite, By default, it has been switched to mysite, command=uwsgi --http :8000 --chdir ~/mysite --module mysite.wsgi, so there is no need to write --chdir ~/mysite Summary command=uwsgi --http :8000 - -module mysite.wsgi directory=/home/XXX/mysite
directory
When supervisord daemonizes, switch to this directory. This option can include the value %(here)s, which expands to the directory in
which the supervisord configuration file was found.
supervisor will not be extended~
directory=~/mysite will not be extended to /home/user/mysite
The document only writes %(here)s to be extended. At the same time, after writing the directory to the absolute path of mysite, By default, it has been switched to mysite,
command=uwsgi --http :8000 --chdir ~/mysite --module mysite.wsgi, so there is no need to write --chdir ~/mysite
Summary
command=uwsgi --http :8000 - -module mysite.wsgi
directory=/home/XXX/mysite