To disable monitoring of MySQL service, run
whmapi1 configureservice service=mysql enabled=1 monitored=0
This wil prevent MySQL service get auto started.
To enable Monitoring for MySQL service, run
whmapi1 configureservice service=mysql enabled=1 monitored=1
If you want to disable a service, change enabled=1 to enabled=0
See whmapi1
Leave a Reply