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

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

For cPanel & WHM 11.46

Overview

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

  • 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 will update the specified component of the system. 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 will appear 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:

KeyDescriptionAccepted valuesSetting in WHM's Update Preferences interfaceScript
CPANELThis setting determines the Release Tier for the server.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
dailySpecifies that this component will automatically update every day.
manualSpecifies that you 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.