After pip installing uWSGI there's no /etc/uwsgi/ directory - how can I use apps-enabled?
Sorry for this very late reply, but maybe this will help people who'll find this answer in the future:
To get /etc/uwsgi
etc, you need to install the uwsgi package from Debian or Ubuntu (whatever you are using) by running aptitutde install uwsgi
. However this will by default probably install an ancient version of uwsgi! The uwsgi binary is placed in /usr/bin/uwsgi
when installing uwsgi this way.
To get the latest version, also install uwsgi using pip using pip install -U uwsgi
, which (on my Ubuntu system at least) will put the uwsgi binary in /usr/local/bin/uwsgi
then go do the following:
cd /usr/bin/
mv uwsgi uwsgi-old
ln -s /usr/local/bin/uwsgi uwsgi
Alternatively: edit the uwsgi init script and edit the DAEMON="/usr/bin/uwsgi"
appropriately.
Et voila: "debianism" (full init scripts, etc) and the latest uwsgi binary!