def add_hooks(occurrence):
    if occurrence.service.SERVICENAME not in (dependant_service, SERVICENAME):
        return
    global service
    service = True
    if not running(): return
    resource = get_resource()
    resource.putChild(SERVICENAME, ConfigResouce())
hook into droned's default server resource
dataset/ETHPy150Open OrbitzWorldwide/droned/droned/services/remote_config.py/add_hooks