#!/bin/bash
#
# Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2021 All Rights Reserved
#
# Licensed under CLOUD LINUX LICENSE AGREEMENT
# http://cloudlinux.com/docs/LICENCE.TXT
#
if [[ $EUID -eq 0 ]]; then
echo "This program is not intended to be run as root." 1>&2
exit 1
fi
CWD=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
source ${CWD}/activate
CL_PYTHON_VERSION="$(echo "${VIRTUAL_ENV}" | awk -F '/' '{print $NF}')"
eval $(${CWD}/set_env_vars.py python)
ABSOLUTE_PATH="${CWD}/python${CL_PYTHON_VERSION}_bin"
exec "${ABSOLUTE_PATH}" "$@"
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| activate | File | 2.3 KB | 0755 |
|
| cloudlinux-cli-user.py | File | 491 B | 0755 |
|
| cloudlinux-selector.py | File | 654 B | 0755 |
|
| cloudlinux_cli_user.py | File | 17.01 KB | 0644 |
|
| cpanel_api.py | File | 9.76 KB | 0644 |
|
| libcloudlinux.py | File | 33.98 KB | 0644 |
|
| node_wrapper | File | 268 B | 0755 |
|
| npm_wrapper | File | 1.69 KB | 0755 |
|
| python_wrapper | File | 568 B | 0755 |
|
| set_env_vars.py | File | 3.66 KB | 0755 |
|