Source

pp-web / src / pp / doc / ppserver.1

Full commit
.\" It was generated by help2man 1.36.
.TH PPSERVER "1" "February 2010" "Parallel Python Network Server" "User Commands"
.SH NAME
ppserver \- manual page for Parallel Python Network Server
.SH SYNOPSIS
.B ppserver
[\fI-hda\fR] [\fI-i interface\fR] [\fI-b broadcast\fR] [\fI-p port\fR] [\fI-w nworkers\fR] [\fI-s secret\fR] [\fI-t seconds\fR]
.SH DESCRIPTION
Parallel Python Network Server
.SH OPTIONS
.TP
\fB\-h\fR
this help message
.TP
\fB\-d\fR
debug
.TP
\fB\-a\fR
enable auto\-discovery service
.TP
\fB\-r\fR
restart worker process after each task completion
.TP
\fB\-n\fR <proto>
protocol number for pickle module
.TP
\fB\-c\fR <path>
path to config file
.TP
\fB\-i\fR <interface>
interface to listen
.TP
\fB\-b\fR <broadcast>
broadcast address for auto\-discovery service
.TP
\fB\-p\fR <port>
port to listen
.TP
\fB\-w\fR <nworkers>
number of workers to start
.TP
\fB\-s\fR <secret>
secret for authentication
.TP
\fB\-t\fR <seconds>
timeout to exit if no connections with clients exist
.PP
Please visit http://www.parallelpython.com for extended up\-to\-date
documentation, examples and support forums
.br
.SH SECURITY
Due to the security concerns it is highly recommended to run ppserver.py with an non-trivial secret key (-s command line argument) which should be paired with the matching secret keyword of PP Server class constructor. An alternative way to set a secret key is by assigning 
.B pp_secret 
variable in the configuration file 
.B .pythonrc.py 
which should be located in the user home directory (please make this file readable and writable only by user). 
The secret key set in .pythonrc.py could be overridden by command line argument (for ppserver.py) and secret keyword (for PP Server class constructor).
.SH AUTHOR
This manual page was written by Sandro Tosi <matrixhasu@gmail.com>, 
and Vitalii Vanovschi support@parallelpython.com