'Downloads and installs the GeoLite2 database'

@cherrypy.expose
@cherrypy.tools.json_out()
@requireAuth(member_of('admin'))
@addtoapi()
def install_geoip_db(self, **kwargs):

    result = helpers.install_geoip_db()
    if result:
        return {'result': 'success', 'message': 'GeoLite2    database    installed    successful.'}
    else:
        return {'result': 'error', 'message': 'GeoLite2    database    install    failed.'}
