For cPanel & WHM version 60
Overview
The /etc/cpupdate.conf
file on your server determines how cPanel & WHM updates the following system components:
- cPanel & WHM itself.
- Installed RPMs (RPM Package Manager files).
- Apache SpamAssassin™ rules.
How to edit the configuration file
Each line of the /etc/cpupdate.conf
file determines how cPanel & WHM updates the specified system component. You can edit this file with your preferred text editor via SSH, or use WHM's Update Preferences interface (Home >> Server Configuration >> Update Preferences).
File format
The /etc/cpupdate.conf
file appears similar to the following example:
CPANEL=release RPMUP=daily SARULESUP=daily STAGING_DIR=/data UPDATES=daily
Notes:
- Each
KEY=value
pair is on a separate line. - A single equals sign (
=
) separates the uppercaseKEY
and lowercasevalue
. - The file must not contain spaces.
Configuration values
The following keys determine how to update specified components of the system:
Key | Description | Possible values | Setting in WHM's Update Preferences interface | Script |
---|---|---|---|---|
CPANEL | This setting determines the server's Release Tier or product version. |
| cPanel & WHM Updates >> Release Tier | (none) |
RPMUP | This setting determines how to update the operating system's RPMs. |
| Operating System Package Updates | /scripts/rpmup |
SARULESUP | This setting determines how to update Apache SpamAssassin rules. |
| Apache SpamAssassin™ Rules Updates | /scripts/update_sa_rules |
STAGING_DIR | This setting determines the location of the staging directory. | A valid path. | cPanel & WHM Updates >> Staging Directory | (none) |
UPDATES | This setting determines how to update cPanel & WHM when updates become available. |
| cPanel & WHM Updates >> Daily Updates | /scripts/upcp |
Additional documentation
There is no content with the specified labels
There is no content with the specified labels
There is no content with the specified labels
There is no content with the specified labels