forked from platypush/platypush
We don't need to fail hard in backend.http if the backend is configured
to run the web server externally but without spawning uswgi directly (e.g. if nginx takes care of spawning and wrapping the uwsgi instance)
This commit is contained in:
parent
4e31edcd34
commit
8bfe875483
1 changed files with 3 additions and 2 deletions
|
@ -287,8 +287,9 @@ class HttpBackend(Backend):
|
|||
self.logger.info('Starting uWSGI with arguments {}'.format(uwsgi_cmd))
|
||||
self.server_proc = subprocess.Popen(uwsgi_cmd)
|
||||
else:
|
||||
raise EnvironmentError('The web server is configured to be launched externally but ' +
|
||||
'no uwsgi_args were provide')
|
||||
self.logger.info('The web server is configured to be launched externally but ' +
|
||||
'no uwsgi_args were provided. Make sure that you run another external service' +
|
||||
'for the webserver (e.g. nginx)')
|
||||
|
||||
|
||||
# vim:sw=4:ts=4:et:
|
||||
|
|
Loading…
Reference in a new issue