.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "SUPYSONIC-SERVER" "1" "Mar 31, 2024" "0.7.6" "Supysonic" .SH NAME supysonic-server \- Python implementation of the Subsonic server API .SH SYNOPSIS .sp supysonic\-server [\fB\-\-server\fP \fIgevent\fP | \fIgunicorn\fP | \fIwaitress\fP] [\fB\-\-host\fP <\fIhostname\fP>] [\fB\-\-port\fP <\fIport\fP>] [\fB\-\-socket\fP <\fIpath\fP>] [\fB\-\-processes\fP <\fIn\fP>] [\fB\-\-threads\fP <\fIn\fP>] .SH DESCRIPTION .sp \fBsupysonic\-server\fP is the main supysonic\(aqs component, allowing to serve content to clients. It is actually a basic wrapper over \fBGevent\fP, \fBGunicorn\fP or \fBWaitress\fP, requiring at least one of them to be installed to run. .SH OPTIONS .INDENT 0.0 .TP \fB\-S\fP <\fIname\fP>, \fB\-\-server\fP <\fIname\fP> Specify which WSGI server to use. <\fIname\fP> must be one of \fBgevent\fP, \fBgunicorn\fP or \fBwaitress\fP and the matching package must then be installed. If the option isn\(aqt provided, the first one available will be used. .TP \fB\-h\fP <\fIhostname\fP>, \fB\-\-host\fP <\fIhostname\fP> Hostname or IP address on which to listen. The default is \fB0.0.0.0\fP which means to listen on all IPv4 interfaces on this host. Cannot be used with \fB\-\-socket\fP\&. .TP \fB\-p\fP <\fIport\fP>, \fB\-\-port\fP <\fIport\fP> TCP port on which to listen. Default is \fB5722\fP\&. Cannot be used with \fB\-\-socket\fP\&. .TP \fB\-s\fP <\fIpath\fP>, \fB\-\-socket\fP <\fIpath\fP> Path of a Unix socket on which to bind to. If a path is specified, a Unix domain socket is made instead of the usual inet domain socket. Cannot be used with \fB\-\-host\fP or \fB\-\-port\fP\&. Not available on Windows. .TP \fB\-\-processes\fP <\fIn\fP> Number of worker processes to spawn. Only applicable when using the \fBGunicorn\fP WSGI server. .TP \fB\-\-threads\fP <\fIn\fP> The number of worker threads for handling requests. Only applicable when using the \fBGunicorn\fP or \fBWaitress\fP WSGI server. .UNINDENT .SH BUGS .sp Bugs can be reported to your distribution\(aqs bug tracker or upstream at \fI\%https://github.com/spl0k/supysonic/issues\fP\&. .SH SEE ALSO .sp \fBsupysonic\-cli (1)\fP .SH AUTHOR Alban Féron .SH COPYRIGHT 2013-2024, Alban Féron .\" Generated by docutils manpage writer. .