#NEWLINE# def __init__( self , django , name ) : #NEWLINE# #INDENT# self . django = self #NEWLINE# self . auto_start = True #NEWLINE# self . daemon = True #NEWLINE# self . name = name #NEWLINE# self . settings_path = None #NEWLINE# self . host = '0.0.0.0' #NEWLINE# self . pid_file_path = '/var/run' #NEWLINE# self . threads = 1 #NEWLINE# self . processes = 1 #NEWLINE# self . starting_port = 8000 #NEWLINE# self . user = None #NEWLINE# if ( SupervisorRole in self . django . context [ 'roles_in_context' ] ) : #NEWLINE# #INDENT# self . use_supervisor = True #NEWLINE# self . supervisor_log_folder = self . django . context [ 'roles_in_context' ] [ SupervisorRole ] . log_folder #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . use_supervisor = False #NEWLINE# self . supervisor_log_folder = '/var/log' #NEWLINE# #UNINDENT# self . settings = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# }