Page tree
Skip to end of metadata
Go to start of metadata

This documentation is for a previous release of cPanel & WHM. To view our latest documentation, visit our Home page.

For cPanel & WHM 54

Overview

The /etc/cpupdate.conf file on your server determines how cPanel & WHM updates the following system components:

  • cPanel & WHM itself.
  • Installed RPMs (Red Hat Package Manager).
  • 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 in 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 uppercase KEY and lowercase value.
  • The file must not contain spaces.

Configuration values

The following keys determine how to update specified components of the system:

KeyDescriptionPossible valuesSetting in WHM's Update Preferences interfaceScript
CPANELThis setting determines the server's Release Tier.edgecurrent,releasestablecPanel & WHM Updates > Release Tier(none)
RPMUPThis setting determines how to update the operating system's RPMs.dailymanualneverOperating System Package Updates/scripts/rpmup
SARULESUPThis setting determines how to update Apache SpamAssassin rules.dailymanualneverApache SpamAssassin™ Rules Updates/scripts/update_sa_rules
STAGING_DIRThis setting determines the location of the staging directory.A valid path.cPanel & WHM Updates >>Staging Directory(none)
UPDATESThis setting determines how to update cPanel & WHM.dailymanualnevercPanel & WHM Updates > Daily Updates/scripts/upcp

 

You may choose from the following values:

ValueDescription
dailyThis component automatically updates daily.
manualYou will update this component manually. For example, if you set the value UPDATES=manual, you must run the scripts/upcp script via the command line or WHM's Upgrade to Latest Version interface (Home >> cPanel >> Upgrade to Latest Version) to update your server.
neverPrevents both automatic and manual updates to this component.