.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3. .TH PSERVE "1" "January 2016" "pserve 1.6+dfsg-1" "User Commands" .SH NAME pserve \- Python 2 Pyramid command .SH SYNOPSIS .B pserve \fI\,config_uri \/\fR[\fI\,start|stop|restart|status\/\fR] [\fI\,var=value\/\fR] .SH DESCRIPTION This command serves a web application that uses a PasteDeploy configuration file for the server and application. If start/stop/restart is given, then \fB\-\-daemon\fR is implied, and it will start (normal operation), stop (\fB\-\-stopdaemon\fR), or do both. Note: Daemonization features are deprecated. You can also include variable assignments like 'http_port=8080' and then use %(http_port)s in your config files. .SH OPTIONS .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-n\fR NAME, \fB\-\-app\-name\fR=\fI\,NAME\/\fR Load the named application (default main) .TP \fB\-s\fR SERVER_TYPE, \fB\-\-server\fR=\fI\,SERVER_TYPE\/\fR Use the named server. .TP \fB\-\-server\-name\fR=\fI\,SECTION_NAME\/\fR Use the named server as defined in the configuration file (default: main) .TP \fB\-\-daemon\fR Run in daemon (background) mode [DEPRECATED] .TP \fB\-\-pid\-file\fR=\fI\,FILENAME\/\fR Save PID to file (default to pyramid.pid if running in daemon mode) [DEPRECATED] .TP \fB\-\-log\-file\fR=\fI\,LOG_FILE\/\fR Save output to the given log file (redirects stdout) .TP \fB\-\-reload\fR Use auto\-restart file monitor .TP \fB\-\-reload\-interval\fR=\fI\,RELOAD_INTERVAL\/\fR Seconds between checking files (low number can cause significant CPU usage) .TP \fB\-\-monitor\-restart\fR Auto\-restart server if it dies [DEPRECATED] .TP \fB\-b\fR, \fB\-\-browser\fR Open a web browser to server url .TP \fB\-\-status\fR Show the status of the (presumably daemonized) server [DEPRECATED] .TP \fB\-v\fR, \fB\-\-verbose\fR Set verbose level (default 1) .TP \fB\-q\fR, \fB\-\-quiet\fR Suppress verbose output .TP \fB\-\-user\fR=\fI\,USERNAME\/\fR Set the user (usually only possible when run as root) .TP \fB\-\-group\fR=\fI\,GROUP\/\fR Set the group (usually only possible when run as root) .TP \fB\-\-stop\-daemon\fR Stop a daemonized server (given a PID file, or default pyramid.pid file) [DEPRECATED]