> <html><body><span style="font-family:Verdana; color:#000000; > font-size:10pt;"><div>Hi,</div><div><br></div><div>I'm trying to get my > head around using emperor to manage celery. Let's say I have just > installed celery via PIP and for testing I am running the following code > to run it manally:</div><pre class="line-pre" style=""><div class="line" > id="file-deploy-sh-LC124" style=""><br></div><div class="line" > id="file-deploy-sh-LC125" style=""><span class="nb" style="">export > </span><span class="nv" style="">C_FORCE_ROOT</span><span class="o" > style="">=</span><span class="s2" style="">"true"</span></div><div > class="line" id="file-deploy-sh-LC126" style=""><span class="nb" > style="">cd</span> /var/www/test</div><div class="line" > id="file-deploy-sh-LC127" style="">/var/www/test/venv/bin/celery worker > --app<span class="o" style="">=</span>app.celery</div><div class="line" > id="file-deploy-sh-LC127" style=""><br></div><div class="line" > id="file-deploy-sh-LC127" style="">How can I translate this into a line > for my ini:</div><div class="line" id="file-deploy-sh-LC127" > style=""><br></div><div class="line" id="file-deploy-sh-LC127" > style=""><pre style=""><span class="na" > style="">smart-attach-daemon</span> <span class="o" style="">=</span> > <span class="s" style="">/tmp/celery.pid celery -A tasks worker > --pidfile=/tmp/celery.pid</span></pre><pre style=""><span class="s" > style="">It seems like anything I try refuses to start > it.</span></pre><pre style=""><span class="s" > style=""><br></span></pre><pre style=""><span class="s" > style="">James</span></pre></div></pre></span></body></html> > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi >
Hi, check you are not using an old uWSGI version. smart daemons are supported only from 1.4 -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
