예제 #1
0
 def __init__(self):
     MainService.__init__(self,
                          setting.SERVICE_TYPE,
                          setting.VERSION,
                          use_mysqldb=True,
                          db_update_dir_path=os.path.join(
                              os.path.dirname(__file__), "db_update"))
예제 #2
0
    def __init__(self):
        MainService.__init__(self, setting.SERVICE_TYPE, setting.VERSION)

        from pandora.lib.service import ServicePuller
        ServicePuller().start()

        from pandora.lib.device_type import DeviceTypePuller
        DeviceTypePuller().start()
예제 #3
0
 def __init__(self):
     MainService.__init__(self, setting.SERVICE_TYPE, setting.VERSION)
예제 #4
0
파일: start.py 프로젝트: cash2one/beiqi_ssp
 def __init__(self):
     MainService.__init__(self, setting.SERVICE_TYPE, setting.VERSION)
예제 #5
0
파일: start.py 프로젝트: cash2one/beiqi_ssp
    def __init__(self):
        MainService.__init__(self, setting.SERVICE_TYPE, setting.VERSION)

        from pandora.lib.service import ServicePuller
        ServicePuller().start()