Restart cPanel Service using Command Line
Did some changes on cPanel/WHM configs and want to restart the cPanel Service? This can be done using a single command from the root user of the WHM Server.
Restarting cPanel will trigger the restart to all the services lik tail watch, MySQL server, etc on cPanel server.
Let’s proceed with the small guide.
- Log in to the root of the WHM Server.
- Run the following command to restart the cPanel Service.
service cpanel restart
The above command with restart the cPanel service using terminal.