Kunnskapsbase

The modify_packages Script  Print

Overview:

You can use the /usr/local/cpanel/scripts/modify_packages script to set existing packages to use a new cPanel theme.

Note:

To set a new theme for current cPanel accounts, use the /usr/local/cpanel/scripts/modify_accounts script.

Run the script

To use this script, run the following command as the root user:

/usr/local/cpanel/scripts/modify_packages --theme=theme_name [options]
Note:

In this example, theme_name represents the name of the theme that you wish to set for the package.

Options

The /usr/local/cpanel/scripts/modify_package script accepts the following options:

Option Description Example
--theme Required
The theme name that you wish to assign to the package. Specify the paper_lantern theme or the name of another valid theme that exists on the server.
/usr/local/cpanel/scripts/modify_packages --theme=paper_lantern
--packages A comma-separated list of packages that you wish to modify.
/usr/local/cpanel/scripts/modify_packages --theme=paper_lantern --packages=my_pkg,another_pkg
--all-packages Update all of the packages that exist on the server.
/usr/local/cpanel/scripts/modify_packages --theme=paper_lantern --all-packages

Var dette svaret til hjelp?

Relaterte artikler

WHM Scripts
Overview: The cPanel & WHM installation process adds important scripts to your server’s...
The dbmaptool Script
Overview: You can use the /usr/local/cpanel/bin/dbmaptool script to grant ownership of databases...
The servers_queue Script
Overview: This script allows you to manage the task queue system. The task queue system allows...
The auto-adjust-mysql-limits Script
Overview: The /usr/local/cpanel/scripts/auto-adjust-mysql-limits script updates MySQL®...
The autossl_check Script
Overview: The /usr/local/cpanel/bin/autossl_check script allows you to manually check the SSL...