Echo HTTP port to remote user

pull/2/head
Rui Carmo 2016-04-02 01:11:25 +01:00
rodzic d9219e4211
commit a235496658
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -200,6 +200,7 @@ def single_worker(app, kind, command, env, ordinal=1):
settings.append(('env', '%s=%s' % (k,v)))
if kind == 'wsgi':
echo("-----> Setting HTTP port to %s" % env['PORT'], fg='yellow')
settings.extend([
('module', command),
('http', ':%s' % env['PORT'])