8 if name is None: 9 name = script 10 11 script_path = self.current_dir + '/python/' + script 12 13 self._load_conf( 14 { 15 "listeners": {"*:7080": {"pass": "applications/" + name}}, 16 "applications": { 17 name: { 18 "type": self.application_type, 19 "processes": {"spare": 0}, 20 "path": script_path, 21 "working_directory": script_path, 22 "module": "wsgi", 23 } 24 },
| 8 if name is None: 9 name = script 10 11 script_path = self.current_dir + '/python/' + script 12 13 self._load_conf( 14 { 15 "listeners": {"*:7080": {"pass": "applications/" + name}}, 16 "applications": { 17 name: { 18 "type": self.application_type, 19 "processes": {"spare": 0}, 20 "path": script_path, 21 "working_directory": script_path, 22 "module": "wsgi", 23 } 24 },
|