SILENT KILLERPanel

Current Path: > > opt > cloudlinux > venv > lib64 > python3.11 > site-packages > clwizard


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/cloudlinux/venv/lib64/python3.11/site-packages/clwizard

NameTypeSizeLast ModifiedActions
__pycache__ Directory - -
cli Directory - -
config Directory - -
modules Directory - -
__init__.py File 270 bytes June 05 2025 10:38:47.
constants.py File 1476 bytes June 05 2025 10:38:47.
exceptions.py File 1524 bytes June 05 2025 10:38:47.
parser.py File 3367 bytes June 05 2025 10:38:47.
utils.py File 3199 bytes June 05 2025 10:38:47.
wizard.py File 14666 bytes June 05 2025 10:38:47.

Reading File: //opt/cloudlinux/venv/lib64/python3.11/site-packages/clwizard/constants.py

# coding=utf-8
#
# 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
#

import os


CL_SELECTOR_BIN = '/usr/sbin/cloudlinux-selector'
PERSISTENT_DIR = '/var/lve/wizard/'
MODULES_LOGS_DIR = '/var/log/cloudlinux/wizard/'
MODULES_STATUS_FILE = os.path.join(PERSISTENT_DIR, 'modules-statuses.json')
FILE_MARKER_PATH = os.path.join(PERSISTENT_DIR, 'done.flag')
MODULES_STATUS_FILE_LOCK = MODULES_STATUS_FILE + '.lock'

MAIN_LOG_PATH = os.path.join(MODULES_LOGS_DIR, 'wizard.log')
CRASH_LOG_PATH = os.path.join(MODULES_LOGS_DIR, 'crash.log')


class ModuleStatus:
    """
    pending: in queue for installation
    installing: currently installing
    installed: installation of module (package) finished
    failed: if module was aborted during installation
    auto-skipped: if automatic installation of module (package) is impossible
    """
    CANCELLED = 'cancelled'
    FAILED = 'failed'
    INSTALLED = 'installed'
    INSTALLING = 'installing'
    PENDING = 'pending'
    AUTO_SKIPPED = 'auto-skipped'


class WizardStatus:
    """
    idle: never executed before
    in_progress: currently working
    failed: installation of some module failed
    crashed: something really weird happened
    done: installation finished
    """
    IDLE = 'idle'
    IN_PROGRESS = 'in_progress'
    FAILED = 'failed'
    CRASHED = 'crashed'
    DONE = 'done'

SILENT KILLER Tool