After a system update, cPanel & WHM runs the
/usr/local/cpanel/scripts/find_outdated_services script to check all processes to determine whether they require a restart.
In cPanel & WHM version 70, we added support for a file that allows system administrators to declare processes to exclude from the check.
cPanel & WHM only applies this exclusion list to the
script. It does not apply the exclusion list to the
The /etc/cpanel/local/ignore_outdated_services file
To exclude a process from the
script, log in to your server's command line as the
root user and add that process to the
The file uses the following format:
- Enter only one process per line.
- Use Unix line endings to separate the entries.
- The system skips blank lines.
- Use the pound character (#) at the beginning of a line to mark it as a comment.
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-final services from restart checks, you would run commands similar to the following example:
In this example, the
/etc/cpanel/local/ignore_outdated_services file will contain the following information: