~jfb-tempo-consulting/unifield-web/US-3997

« back to all changes in this revision

Viewing changes to openobject/commands.py

  • Committer: jf
  • Date: 2018-03-02 16:10:24 UTC
  • mfrom: (4893.1.1 web-US-3862)
  • Revision ID: jfb@tempo-consulting.fr-20180302161024-3jmce9qpaemhvbu8
US-3862 [IMP] Revprox: new config param server.https_port (go1.10)

lp:~jfb-tempo-consulting/unifield-web/US-3862

Show diffs side-by-side

added added

removed removed

Lines of Context:
160
160
        return False
161
161
 
162
162
    cmd = [ rbin, '-server', https_name, '-redir', str(redir_port) ]
 
163
    if cherrypy.config.get('server.https_port'):
 
164
        cmd += ['-listen-port', str(cherrypy.config.get('server.https_port'))]
163
165
    proc = subprocess.Popen(cmd,
164
166
                            stderr=subprocess.STDOUT,  # Merge stdout and stderr
165
167
                            stdout=subprocess.PIPE)