This document shows how you can disable a service.
When you execute the following /usr/local/cpanel/scripts/maintenance script, it provides security updates and it will automatically restart services. It should be remembered however that automatic restarts may cause essential services, such as securetmp, to lose connection to the server. The server may become inaccessible if these services lose connection to that server.
Please note that disabled services reside in the following directory:
If you want to disable a service, you can just log in to your server’s command line as the root user and then add one of the following touch files to the /var/cpanel/disabled directory:
|secureit||This file would disable the secureit service, which secures file permissions on your server.|
|securetmp||This file would disable the securetmp service, which secures your /tmp partition.|
|terminal-colors||This file would Disables the color output in WHM’s Terminal interface (WHM >> Home >> Server Configuration >> Terminal).|
|cloudlinux||This file would disable CloudLinux™.|
|auto-restart-services||This file would disables any services that the system automatically restarts.|
This documentation shows various key commands that can be used to disable services on cPanel.