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

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 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 or product version.
  • A release tier name (edge , current , release , or stable), to ensure that your server always uses the appropriate version for that tier.
  • A cPanel & WHM version number, to specify an exact version (for example, 58, 11.58, or 58.1234).
cPanel & WHM Updates >> Release Tier(none)
RPMUPThis setting determines how to update the operating system's RPMs.
  • daily — Update RPMs daily.
  • manual — Update RPMs manually (for example, via the command line).
  • never — Prevent both automatic and manual updates to RPMs.
Operating System Package Updates/scripts/rpmup
SARULESUPThis setting determines how to update Apache SpamAssassin rules.
  • daily — Update rules daily.
  • manual — Update rules manually (for example, via the command line).
  • never — Prevent both automatic and manual updates to rules.
Apache 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 when updates become available.
  • daily — Update cPanel & WHM daily.
  • manual — Update cPanel & WHM manually (for example, via the command line).
  • never — Prevent both automatic and manual updates to cPanel & WHM.
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