[CPANEL-24040] Using whmapi1 set_service_config_key with Apache
Hello,
I run this command:
The result resturn OK
But nothing's changed when I connect to the WHM > Apache > Global conf What I'm doing wrong? Thanks!
whmapi1 set_service_config_key api.version=1 service=apache key=startservers value=10The result resturn OK
---
metadata:
command: set_service_config_key
reason: Succeeded
result: 1
version: 1But nothing's changed when I connect to the WHM > Apache > Global conf What I'm doing wrong? Thanks!
-
Have you looked at the docs for this? WHM API 1 Functions - set_service_config_key - Developer Documentation - cPanel Documentation 0 -
@Infopro Yes, but what do you mean? 0 -
Well, I'm thinking about this mesaage, there: [QUOTE] Warning: As of cPanel & WHM version 58, only the dovecot service is compatible with this function
I assume then that, service=apache, is not compatible. No clue if I'm correct here or not though, just going by what I read on that docs page.0 -
Hello @jmginer, Internal case CPANEL-24040 is open to address an issue where the set_service_config_key WHM API 1 function accepts Apache as an input parameter for service despite the apparent intended limitation of this function to the Dovecot service. I'll monitor this case and update this thread with more information as it becomes available. can tell me how I can automate the implementation of the configurations? * Apache Global Configuration * Exim Configuration * FTP Server Configuration * Backup Configuration
You may find the cpconftool script useful as an alternative for all of the quoted configurations (except for FTP): FTP Server Configuration - Version 82 Documentation - cPanel Documentation Let me know if this helps. Thank you.0 -
Thanks @cPanelMichael I'm going to investigate this cpconftool. 0
Please sign in to leave a comment.
Comments
6 comments