Introduction
How can I enable system services using the WHM API?
Procedure
The WHM API has the configureservice command that allows you to enable a system service:
whmapi1 configureservice service=mysql enabled=1 monitored=1
Service is the service you're enabling, enabled is if the service is enabled and monitored is if chksrvd will monitor the service.
Related documentation:
WHM API 1 Functions - configureservice
Comments
0 comments
Article is closed for comments.