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

Overview

After a system update, cPanel & WHM performs the find_outdated_services check on processes to determine whether they require a restart.

In cPanel & WHM version 70, we added the ability for system administrators to exclude processes from this restart check.

Note:

cPanel & WHM only applies this exclusion list towards the find_outdated_services check. It does not apply the exclusion list to the chkservd or restartsrv services.

The /etc/cpanel/local/ignore_outdated_services file

To exclude a process from the find_outdated_services check, log in to your server's command line as the root user and add that process to the /etc/cpanel/local/ignore_outdated_services file.

The file uses the following format:

  • You may enter only one process per line.
  • Use Unix line endings to separate the entries.
  • Use the pound character (#) at the beginning of a line to mark it as a comment.
  • The system skips blank lines.

The service name must match its name as it appears in the process table. Use the ps command with the necessary flags to list processes (for example, ps -aux).

Example

To create the file and then block the cloud-init service from restart checks, you would run commands similar to the following:

mkdir -p /etc/cpanel/local
echo "# Prevent cPanel from caring about the cloud-init service\ncloud-init" >> /etc/cpanel/local/ignore_outdated_services

The /etc/cpanel/local/ignore_outdated_services file would contain the following information:

# Prevent cPanel from caring about the cloud-init service
cloud-init


Additional documentation