M
M
maddread2016-01-21 10:52:51
Django
maddread, 2016-01-21 10:52:51

How to put UWSGI in Ubuntu in autoload?

Django on ubuntu server 15.10. Python version 3. uWSGI installed via pip.
I don't know how to put uWSGI into autoload. Habr type method

/usr/local/bin/uwsgi --emperor /etc/uwsgi/vassals --uid www-data --gid www-data

prevents the system from booting completely, because this one comes to the foreground. How else can you autoload uWSGI in ubuntu?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
maddread, 2016-01-21
@maddread

figured it out myself. The supervisor utility helped.

L
lega, 2016-01-21
@lega

you can set autorun in cron,@reboot /bin/application

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question