Forked from alb-i986/supervisord conf for uWSGI Emperor + FastRouter
Created
April 24, 2018 21:51
-
-
Save evrardjp/47e6f5515ab1d97d6d5c07490690e03f to your computer and use it in GitHub Desktop.
My supervisord config for uWSGI Emperor + Fast Router.
Please notice that the priority for the FastRouter must be greater than the one for the Emperor.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[program:uwsgi-emperor] | |
command=/usr/local/bin/uwsgi --emperor /etc/uwsgi/sites-enabled/ --pidfile /var/run/uwsgi/uwsgi-emperor.pid --auto-procname --emperor-stats-server /var/run/uwsgi/uwsgi-emperor-stats.sock | |
stdout_logfile=/var/log/uwsgi/%(program_name)s.log | |
redirect_stderr=true ; redirect proc stderr to stdout (default false) | |
autostart=true ; start at supervisord start (default: true) | |
autorestart=unexpected ; whether/when to restart (default: unexpected) | |
priority=998 ; the relative start priority (default 999) | |
[program:uwsgi-fastrouter] | |
command=/usr/local/bin/uwsgi --master --pidfile /var/run/uwsgi/uwsgi-fastrouter.pid --fastrouter :3017 --fastrouter-subscription-server 127.0.0.1:7000 --auto-procname | |
stdout_logfile=/var/log/uwsgi/%(program_name)s.log | |
redirect_stderr=true ; redirect proc stderr to stdout (default false) | |
autostart=true ; start at supervisord start (default: true) | |
autorestart=unexpected ; whether/when to restart (default: unexpected) | |
priority=999 ; the relative start priority (default 999) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment