<p dir="auto">If you use $CELERYD_CHDIR with $CELERYD_OPTS and use a relative path to the dir, then status needs to do the same or otherwise it won't find the application.</p>
<p dir="auto">Also, status and start look at different option env variables which leads to duplication (the -A option needs to be repeated).</p>
<p dir="auto">As a side note, I'm curious if anyone is using these init.d scripts in production successfully? Because I've run into several issues (all fixed imminently, thanks Ask!) and I'm wondering if there's a better working alternative.</p>
<p dir="auto">currently celery, by default, will add a set of fixtures and a mark, which can be confusing to new developers on a project when running <code class="notranslate">pytest --fixtures</code> and begin using them even through we've not yet opted into and started configuring them.</p>
<p dir="auto">An alternative is to use an approach like <a href="https://github.com/aio-libs/pytest-aiohttp/">https://github.com/aio-libs/pytest-aiohttp/</a> where there is a shim package that just lists an entrypoint, and depends on aiohttp.</p>
<p dir="auto">Those that don't want to install the shim package can add <code class="notranslate">pytest_plugins = 'celery.contrib.pytest'</code> to their <code class="notranslate">pytest.ini</code></p>

<h1 dir="auto">Checklist</h1>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+label%3A%22Issue+Type%3A+Feature+Request%22+">issues list</a><br>
for similar or identical feature requests.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/pulls?utf8=%E2%9C%93&amp;q=is%3Apr+label%3A%22PR+Type%3A+Feature%22+">pull requests list</a><br>
for existing proposed implementations of this feature.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the if the same feature was already implemented in the<br>
master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included all related issues and possible duplicate issues<br>
in this issue (If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Related Issues and Possible Duplicates</h2>

<h4 dir="auto">Related Issues</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h4 dir="auto">Possible Duplicates</h4>
<ul dir="auto">
<li>None</li>
</ul>
<h1 dir="auto">Brief Summary</h1>

<h1 dir="auto">Design</h1>
<h2 dir="auto">Architectural Considerations</h2>

<p dir="auto">None</p>
<h2 dir="auto">Proposed Behavior</h2>

<h2 dir="auto">Proposed UI/UX</h2>

<h2 dir="auto">Diagrams</h2>

<p dir="auto">N/A</p>
<h2 dir="auto">Alternatives</h2>

<p dir="auto">None</p>