Файловый менеджер - Редактировать - /opt/cpmigrate/environments/cpanel.py
Ðазад
"""cPanel Environment Module""" from environments.base import Environment class CPanel(Environment): """ Runs the hostname SSL checker which fixes newly provisioned VPS hostname certificates. """ def __init__(self): Environment.__init__(self) def check(self, _): self.actions.append( "+ Run cPanel 'checkallsslcerts' checker to replace hostname cert." ) def run(self, _): self.check_hostname_ssl() def check_hostname_ssl(self): """Runs checkallsslcerts cPanel script.""" self.info("Running service hostname SSL certificate checker.") ret_code, _ = self.xfer.local_command( ['/usr/local/cpanel/bin/checkallsslcerts', '--allow-retry'], sleep=2 ) if ret_code == 0: self.info("Finished running service hostname SSL checker.") else: self.warning("Failed to run service hostname SSL checker.")
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка