diff --git a/README.md b/README.md index bbc8d50..b11d70d 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ or as a WSGI application (on Apache for instance). But first: * simplejson (`apt-get install python-simplejson`) * [requests](http://docs.python-requests.org/) >= 1.0.0 (`pip install requests`) * [mutagen](https://code.google.com/p/mutagen/) (`apt-get install python-mutagen`) +* [watchdog](https://github.com/gorakhargosh/watchdog) (`pip install watchdog`) ### Configuration @@ -53,6 +54,9 @@ Available settings are: * Section **transcoding**: see [Transcoding](https://github.com/spl0k/supysonic/wiki/Transcoding) * Section **mimetypes**: extension to content-type mappings. Designed to help the system guess types, to help clients relying on the content-type. See [the list of common types](https://en.wikipedia.org/wiki/Internet_media_type#List_of_common_media_types). +* Section **daemon** + * **log_file**: path and base name of a rolling log file. + * **log_level**: logging level. Possible values are *DEBUG*, *INFO*, *WARNING*, *ERROR* or *CRITICAL*. ### Database initialization diff --git a/bin/supysonic-cli b/bin/supysonic-cli index 23f97bc..5c2a704 100755 --- a/bin/supysonic-cli +++ b/bin/supysonic-cli @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # coding: utf-8 # This file is part of Supysonic. diff --git a/bin/supysonic-watcher b/bin/supysonic-watcher index 570e066..2c8e2c9 100755 --- a/bin/supysonic-watcher +++ b/bin/supysonic-watcher @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # coding: utf-8 # This file is part of Supysonic. diff --git a/setup.py b/setup.py index e8d85ea..565211d 100755 --- a/setup.py +++ b/setup.py @@ -26,6 +26,6 @@ setup(name='supysonic', """, packages=['supysonic', 'supysonic.api', 'supysonic.frontend', 'supysonic.managers'], - scripts=['bin/supysonic-cli'], + scripts=['bin/supysonic-cli', 'bin/supysonic-watcher'], package_data={'supysonic': ['templates/*.html']} )