support embedded config on FreeBSD

This commit is contained in:
Unbit
2014-03-26 16:54:31 +01:00
parent 9d37725323
commit 8a8d2f8675
+1 -1
View File
@@ -1058,7 +1058,7 @@ class uConf(object):
self.embed_config = None
if uwsgi_os == 'Linux':
if uwsgi_os in ('Linux','FreeBSD'):
self.embed_config = os.environ.get('UWSGI_EMBED_CONFIG')
if not self.embed_config:
self.embed_config = self.get('embed_config')