def _getConfigPath():
    '\n    Get the path of the shotgunEventDaemon configuration file.\n    '
    paths = ['/etc', os.path.dirname(__file__)]
    scriptPath = sys.argv[0]
    if ((scriptPath != '') and (scriptPath != '-c')):
        scriptPath = os.path.abspath(scriptPath)
        scriptPath = os.path.realpath(scriptPath)
        paths[:0] = [os.path.dirname(scriptPath)]
    for path in paths:
        path = os.path.join(path, 'shotgunEventDaemon.conf')
        if os.path.exists(path):
            return path
    raise EventDaemonError(('Config path not found, searched %s' % ', '.join(paths)))
Get the path of the shotgunEventDaemon configuration file.
def _getConfigPath():
    '\n    \n    '
    paths = ['/etc', os.path.dirname(__file__)]
    scriptPath = sys.argv[0]
    if ((scriptPath != ) and (scriptPath != '-c')):
        scriptPath = os.path.abspath(scriptPath)
        scriptPath = os.path.realpath(scriptPath)
        paths[:0] = [os.path.dirname(scriptPath)]
    for path in paths:
        path = os.path.join(path, 'shotgunEventDaemon.conf')
        if os.path.exists(path):
            return path
    raise EventDaemonError(('Config path not found, searched %s' % ', '.join(paths)))