#!/usr/bin/bash
#
# Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2019 All Rights Reserved
#
# Licensed under CLOUD LINUX LICENSE AGREEMENT
# http://cloudlinux.com/docs/LICENSE.TXT
PYTHON="/opt/cloudlinux/venv/bin/python3"

#This is the wrapper for executing different lve-stats binaries with correct LD_LIBRARY_PATH
#It determines the file name and executes corresponding lve python file

NAME=$(basename "$0")
NAME=${NAME%.python}
$PYTHON -s /usr/share/lve-stats/$NAME.py "$@"
