From 8a8d2f867578ccd41f5702e444fd72f4dc9e1602 Mon Sep 17 00:00:00 2001 From: Unbit Date: Wed, 26 Mar 2014 16:54:31 +0100 Subject: [PATCH] support embedded config on FreeBSD --- uwsgiconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uwsgiconfig.py b/uwsgiconfig.py index 926aa1f9..4be19555 100644 --- a/uwsgiconfig.py +++ b/uwsgiconfig.py @@ -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')