Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a note that starting pserve with --daemon is no longer supported #196

Merged
merged 2 commits into from
Oct 27, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions docs/deployment/nginx.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://docs.pylonsproject.org/projects/pyramid/en/latest/whatsnew-1.6.html#deprecations>`_,
then `removed in Pyramid 1.8
<https://docs.pylonsproject.org/projects/pyramid/en/latest/whatsnew-1.8.html#backwards-incompatibilities>`_.

Step 3: Serving Static Files with Nginx (Optional)
==================================================
Expand Down