1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-11-09 19:52:16 +00:00
supysonic/cgi-bin/supysonic.fcgi

16 lines
408 B
Plaintext
Raw Normal View History

2017-08-07 09:06:46 +00:00
#!/usr/bin/env python
2014-03-02 17:31:32 +00:00
#
2018-03-04 20:49:56 +00:00
# This file is part of Supysonic.
2014-03-02 17:31:32 +00:00
# Supysonic is a Python implementation of the Subsonic server API.
#
2018-03-04 20:49:56 +00:00
# Copyright (C) 2013 Alban 'spl0k' Féron
2014-03-02 17:31:32 +00:00
#
2018-03-04 20:49:56 +00:00
# Distributed under terms of the GNU AGPLv3 license.
2014-03-02 17:31:32 +00:00
from flup.server.fcgi import WSGIServer
2014-04-27 15:13:50 +00:00
from supysonic.web import create_application
app = create_application()
if app:
WSGIServer(app, bindAddress = "/path/to/fcgi.sock").run()