summaryrefslogtreecommitdiff
path: root/vendor/CherryPy-3.2.0/sphinx/source/deployguide/cherryd.rst
blob: bca18396bab46693b618a1d782dc26b0375d33fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
*******
cherryd
*******

The ``cherryd`` script is used to start CherryPy servers, whether the builtin
WSGI server, :ref:`FastCGI <fastcgi>`, or SCGI. Sites using mod_python don't
need to use ``cherryd``; Apache will spawn the CherryPy process in that case.

Command-Line Options
====================

.. program:: cherryd

.. cmdoption:: -c, --config

   Specify config file(s)

.. cmdoption:: -d

   Run the server as a daemon

.. cmdoption:: -e, --environment

   Apply the given config environment (defaults to None)


.. index:: FastCGI

.. cmdoption:: -f

   Start a :ref:`FastCGI <fastcgi>` server instead of the default HTTP server


.. index:: SCGI

.. cmdoption:: -s

   Start a SCGI server instead of the default HTTP server


.. cmdoption:: -i, --import

   Specify modules to import


.. index:: PID file

.. cmdoption:: -p, --pidfile

   Store the process id in the given file (defaults to None)


.. cmdoption:: -P, --Path

   Add the given paths to sys.path