Configure Cpanel Server service using whmapi1

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

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *