2021-11-06 16:51:54 +00:00
|
|
|
supysonic-server
|
|
|
|
================
|
|
|
|
|
2021-12-08 04:32:48 +00:00
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2021-11-06 16:51:54 +00:00
|
|
|
|
2021-12-08 04:32:48 +00:00
|
|
|
supysonic-server [**--server** *gevent* | *gunicorn* | *waitress*] [**--host** <*hostname*>] [**--port** <*port*>] [**--socket** <*path*>] [**--processes** <*n*>] [**--threads** <*n*>]
|
2021-11-06 16:51:54 +00:00
|
|
|
|
2021-12-08 04:32:48 +00:00
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2021-11-06 16:51:54 +00:00
|
|
|
|
2021-12-08 04:32:48 +00:00
|
|
|
**supysonic-server** is the main supysonic's component, allowing to serve
|
|
|
|
content to clients. It is actually a basic wrapper over **Gevent**, **Gunicorn**
|
|
|
|
or **Waitress**, requiring at least one of them to be installed to run.
|
2021-11-06 16:51:54 +00:00
|
|
|
|
2021-12-08 04:32:48 +00:00
|
|
|
OPTIONS
|
|
|
|
-------
|
2021-11-06 16:51:54 +00:00
|
|
|
|
2021-12-08 04:32:48 +00:00
|
|
|
**-S** <*name*>, **--server** <*name*>
|
|
|
|
Specify which WSGI server to use. <*name*> must be one of ``gevent``,
|
|
|
|
``gunicorn`` or ``waitress`` and the matching package must then be
|
|
|
|
installed. If the option isn't provided, the first one available will be
|
|
|
|
used.
|
2021-11-06 16:51:54 +00:00
|
|
|
|
2021-12-08 04:32:48 +00:00
|
|
|
**-h** <*hostname*>, **--host** <*hostname*>
|
|
|
|
Hostname or IP address on which to listen. The default is ``0.0.0.0`` which
|
|
|
|
means to listen on all IPv4 interfaces on this host.
|
|
|
|
Cannot be used with **--socket**.
|
2021-11-06 16:51:54 +00:00
|
|
|
|
2021-12-08 04:32:48 +00:00
|
|
|
**-p** <*port*>, **--port** <*port*>
|
|
|
|
TCP port on which to listen. Default is ``5722``.
|
|
|
|
Cannot be used with **--socket**.
|
2021-11-06 16:51:54 +00:00
|
|
|
|
2021-12-08 04:32:48 +00:00
|
|
|
**-s** <*path*>, **--socket** <*path*>
|
|
|
|
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 **--host** or **--port**.
|
|
|
|
Not available on Windows.
|
2021-11-06 16:51:54 +00:00
|
|
|
|
2021-12-08 04:32:48 +00:00
|
|
|
**--processes** <*n*>
|
|
|
|
Number of worker processes to spawn. Only applicable when using the
|
|
|
|
**Gunicorn** WSGI server.
|
2021-11-06 16:51:54 +00:00
|
|
|
|
2021-12-08 04:32:48 +00:00
|
|
|
**--threads** <*n*>
|
|
|
|
The number of worker threads for handling requests. Only applicable when
|
|
|
|
using the **Gunicorn** or **Waitress** WSGI server.
|
2021-11-06 16:51:54 +00:00
|
|
|
|
2021-12-08 04:32:48 +00:00
|
|
|
BUGS
|
|
|
|
----
|
2021-11-06 16:51:54 +00:00
|
|
|
|
2021-12-08 04:32:48 +00:00
|
|
|
Bugs can be reported to your distribution's bug tracker or upstream at
|
|
|
|
https://github.com/spl0k/supysonic/issues.
|
2021-11-06 16:51:54 +00:00
|
|
|
|
2021-12-08 04:32:48 +00:00
|
|
|
SEE ALSO
|
|
|
|
--------
|
2021-11-06 16:51:54 +00:00
|
|
|
|
2021-12-08 04:32:48 +00:00
|
|
|
``supysonic-cli (1)``
|