From 59d2c5b095e5c9ffd7c03c7f482d63515ff4ce44 Mon Sep 17 00:00:00 2001 From: Paul Cutler Date: Fri, 27 Oct 2017 15:52:30 -0500 Subject: [PATCH] Add a note that starting pserve with --daemon is no longer supported (#196) * Add a note that starting pserve with --daemon is no longer supported For Pyramid 1.9 and newer, you cannot start Pyramid with pserve --daemon. This adds a note to the nginx deployment page to call this out. * Update PR of daemon deprecation with feedback Update the PR to update starting pserve without the daemon command and add links that daemonization was deprecated in Pyramid 1.6 and removed in Pyramid 1.8 --- docs/deployment/nginx.rst | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/deployment/nginx.rst b/docs/deployment/nginx.rst index 074bb71..85219d0 100644 --- a/docs/deployment/nginx.rst +++ b/docs/deployment/nginx.rst @@ -217,8 +217,15 @@ hosting the application under a different URL than ``/``. Running the pserve processes:: - pserve --daemon --pid-file=pserve_5000.pid production.ini http_port=5000 - pserve --daemon --pid-file=pserve_5001.pid production.ini http_port=5001 + pserve production.ini http_port=5000 + pserve production.ini http_port=5001 + +.. note:: + + Daemonization of pserve was `deprecated in + Pyramid 1.6 `_, + then `removed in Pyramid 1.8 + `_. Step 3: Serving Static Files with Nginx (Optional) ==================================================