GRAYBYTE WORDPRESS FILE MANAGER1067

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.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
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /opt/cloudlinux/venv/lib/python3.11/site-packages/clconfigure/spec/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /opt/cloudlinux/venv/lib/python3.11/site-packages/clconfigure/spec//shared_pro.py
# Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2018 All Rights Reserved
#
# Licensed under CLOUD LINUX LICENSE AGREEMENT
# https://cloudlinux.com/docs/LICENCE.TXT
#
from clcommon.lib import cledition

from clconfigure import task
from clconfigure.awp import enable_accelerate_wp_free
from clconfigure.cagefs import clean_cagefs_without_lve_environment

from . import shared
from ..clpro import trigger_manage_clplus


@task(f"Initial provisioning during transition of {cledition.get_cl_edition_readable()} into CloudLinux OS Shared Pro")
def preprovision(edition):
    """
    Triggered before jwt token change in rhn-client-tools
    but already after successful registration with new edition.

    Designed to safely terminate things that should not be
    running as part of current edition but avoid license checks.
    """
    clean_cagefs_without_lve_environment()


@task("Configuring environment for CloudLinux OS Shared PRO")
def provision(edition):
    """
    Converts "normal" CloudLinux Shared into CL Shared PRO.
    """
    # first convert to shared
    shared.provision(edition)

    # cannot do that in posttrans because awp may be not installed
    # cron will handle that later
    enable_accelerate_wp_free()

    # automatically install things like cmt
    trigger_manage_clplus()

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
June 25 2025 08:31:29
root / root
0755
__pycache__
--
June 25 2025 08:31:29
root / root
0755
__init__.py
0.323 KB
June 05 2025 10:38:47
root / root
0644
admin.py
2.595 KB
June 05 2025 10:38:47
root / root
0644
shared.py
2.44 KB
June 05 2025 10:38:47
root / root
0644
shared_pro.py
1.289 KB
June 05 2025 10:38:47
root / root
0644
solo.py
2.795 KB
June 05 2025 10:38:47
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF