X7ROOT File Manager
Current Path:
/usr/share/l.v.e-manager/utils
usr
/
share
/
l.v.e-manager
/
utils
/
📁
..
📄
activate
(2.3 KB)
📄
cloudlinux-cli-user.py
(491 B)
📄
cloudlinux-selector.py
(654 B)
📄
cloudlinux_cli_user.py
(11.16 KB)
📄
cpanel_api.py
(9.76 KB)
📄
libcloudlinux.py
(27.73 KB)
📄
node_wrapper
(268 B)
📄
npm_wrapper
(1.69 KB)
📄
python_wrapper
(568 B)
📄
set_env_vars.py
(3.66 KB)
Editing: python_wrapper
#!/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}" "$@"
Upload File
Create Folder