[uWSGI] Monitoring uwsgi in shared-hosting
dorian.hoxha at gmail.com
Tue Apr 7 13:54:05 CEST 2015
I'm running uwsgi on a shared-hosting so I don't have access to
upstart,systemd etc, and I want to start it if it crashes or when the
server is restarted.
I currently have a cron-job running every 5 minutes, doing:
uwsgi --ini uwsgiconfig.ini
I see that the process-id inside the uwsgi.pid file changes everytime.
Is this ok?
http = :5000
wsgi-file = manage.py
callable = app
master = 1
processes = 2
static-map = /static=app/static
daemonize = uwsgi.log
pidfile = uwsgi.pid
single-interpreter = 1
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the uWSGI