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.
cPanel & WHM only applies this exclusion list towards the
find_outdated_services check. It does not apply the exclusion list to the
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
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,
To create the file and then block the
cloud-init service from restart checks, you would run commands similar to the following:
/etc/cpanel/local/ignore_outdated_services file would contain the following information: