#! /usr/bin/python
# Copyright 2017 Cumulus Networks, Inc.  All Rights reserved.
#
# This software is subject to the Cumulus Networks End User License Agreement
# available at the following locations:
#
# Internet: https://cumulusnetworks.com/downloads/eula/latest/view/
# Cumulus Linux systems: /usr/share/cumulus/EULA.txt

import sys
from netq_lib.common import utils
from netq_events.cmd import eventd

if __name__ == '__main__':
    try:
        sys.exit(eventd.main())
    except Exception as exc:  # pylint: disable=broad-except
        logger = utils.get_logger('netq-eventd', None)
        logger.exception(exc)
        sys.exit(1)
