1
0
mirror of https://github.com/spl0k/supysonic.git synced 2024-12-23 01:16:18 +00:00
supysonic/cgi-bin/supysonic.fcgi

18 lines
422 B
Plaintext
Raw Normal View History

2017-08-07 09:06:46 +00:00
#!/usr/bin/env python
# coding: utf-8
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:
2014-03-08 20:30:45 +00:00
WSGIServer(app, bindAddress = '/path/to/fcgi.sock').run()