Question
How do you disable a service using the command line?
Answer
- Log in to the server via SSH or WHM's Terminal as the
rootuser -
Run the following command:
# whmapi1 configureservice service=MYSERVICE enabled=0 monitored=0
Note: You will need to replace MYSERVICE with the actual service you wish to disable. Disabling a service here means stopping the service immediately and also disabling it from restarting even after reboots.
Comments
0 comments
Article is closed for comments.