私はこのように Gunicorn を実行している pserve でピラミッドを使用します:
pserve production.ini
production.ini
[server:main]
use = egg:gunicorn#main
host = 0.0.0.0
port = 8080
workers = 3
worker_class = gevent
daemon = true
そしてそれはPIDを返します
Starting server in PID XXXXX.
しかし、私は実行してそれを殺すことはできません
# kill XXXXX
-bash: kill: (XXXXX) - No such process
また
# pserver --stop-daemon XXXXX
No PID File exists in pyramid.pid
今まで、私は使ってきました
pkill pserve
しかし、現在、複数のサーバーが実行されているため、すべてのサーバーが停止します。
特定の実行中のサーバーを強制終了するにはどうすればよいですか?