182 signal.signal(signal.SIGUSR2,rC) |
182 signal.signal(signal.SIGUSR2,rC) |
183 |
183 |
184 configParser = MyConfigParser() |
184 configParser = MyConfigParser() |
185 """configParser to get configuration.""" |
185 """configParser to get configuration.""" |
186 |
186 |
187 confFiles=["iro.conf", "~/iro.conf","/etc/iro/iro.conf"] |
187 confFiles=["~/iro.conf","/etc/iro/iro.conf"] |
188 """Configfile list """ |
188 """Configfile list """ |
189 |
189 |
190 main_options = OrderedDict([ |
190 main_options = OrderedDict([ |
191 ("dburl",Option(lambda x,y:x,long="Connection URL to database",must=True)), |
191 ("dburl",Option(lambda x,y:x,long="Connection URL to database",must=True)), |
192 ("port",Option(partial(vInteger,minv=0),long="Port under that twisted is running",must=True)), |
192 ("port",Option(partial(vInteger,minv=0),long="Port under that twisted is running",must=True)), |