擅长:python、mysql、java
<p>目前,nohup&;对我来说一切正常。以下命令在后台运行进程。</p>
<pre><code>> sudo nohup daphne MyProject.asgi:channel_layer --port 80 --bind 0.0.0.0 -v2 &
> sudo nohup python manage.py runworker -v2 &
</code></pre>
<p><strong>杀死-9[pid]</strong>应该在需要时帮助杀死它们。</p>