Opened 10 years ago

Closed 3 years ago

#1030 closed enhancement (no-action)

supervisord examples in documentation

Reported by: arthur.lutz Owned by:
Priority: minor Milestone:
Component: programming Keywords:
Cc: Parent Tickets:

Description

One way of running paste and the celery worker is to use supervisord, it would be nice to include and example in the code or the doc

Change History (2)

comment:1 by arthur.lutz, 10 years ago

My current setup looks like this (still work in progress)

# more /etc/supervisor/conf.d/mediagoblin.conf
[program:mediagoblin-celery]
environment=CELERY_CONFIG_MODULE=mediagoblin.init.celery.from_celery,MEDIAGOBLIN_CONFIG=/srv/videos.example.org/mediagoblin/mediagoblin.ini
command=/srv/videos.example.org/mediagoblin/bin/celery worker
user=mediagoblin
directory=/srv/videos.example.org/mediagoblin/

[program:mediagoblin-paste]
environment=CELERY_ALWAYS_EAGER=false
command=/srv/videos.example.org/mediagoblin/bin/paster serve /srv/videos.example.org/mediagoblin/paste.ini --server-name
=fcgi fcgi_host=127.0.0.1 fcgi_port=26543
directory=/srv/videos.example.org/mediagoblin/
user=mediagoblin

comment:2 by Ben Sturmfels, 3 years ago

Resolution: no-action-required
Status: newclosed

Closing this old ticket. My thinking is that we provide good documentation for the chosen deployment path (Nginx and Systemd) and anyone who would prefer something else can translate these accordingly. That's not to say people shouldn't have more options - just that we can't currently afford to maintain and test multiple installation processes.

Note: See TracTickets for help on using tickets.