bug fix: enable/disable services
This commit is contained in:
parent
7019bf87e3
commit
c16661abef
|
|
@ -2263,7 +2263,7 @@ def main():
|
|||
checks.setup_email_Passwords(installCyberPanel.InstallCyberPanel.mysqlPassword, mysql)
|
||||
checks.setup_postfix_davecot_config(mysql)
|
||||
else:
|
||||
if args.postfix == 'On':
|
||||
if args.postfix == 'ON':
|
||||
checks.install_postfix_davecot()
|
||||
checks.setup_email_Passwords(installCyberPanel.InstallCyberPanel.mysqlPassword, mysql)
|
||||
checks.setup_postfix_davecot_config(mysql)
|
||||
|
|
@ -2291,7 +2291,7 @@ def main():
|
|||
checks.installOpenDKIM()
|
||||
checks.configureOpenDKIM()
|
||||
else:
|
||||
if args.postfix == 'On':
|
||||
if args.postfix == 'ON':
|
||||
checks.installOpenDKIM()
|
||||
checks.configureOpenDKIM()
|
||||
|
||||
|
|
|
|||
|
|
@ -622,7 +622,7 @@ def Main(cwd, mysql, distro, ent, serial = None, port = "8090", ftp = None, dns
|
|||
installer.installPureFTPDConfigurations(mysql)
|
||||
installer.startPureFTPD()
|
||||
else:
|
||||
if ftp == 'On':
|
||||
if ftp == 'ON':
|
||||
installer.installPureFTPD()
|
||||
installer.installPureFTPDConfigurations(mysql)
|
||||
installer.startPureFTPD()
|
||||
|
|
@ -632,7 +632,7 @@ def Main(cwd, mysql, distro, ent, serial = None, port = "8090", ftp = None, dns
|
|||
installer.installPowerDNSConfigurations(InstallCyberPanel.mysqlPassword, mysql)
|
||||
installer.startPowerDNS()
|
||||
else:
|
||||
if dns == 'On':
|
||||
if dns == 'ON':
|
||||
installer.installPowerDNS()
|
||||
installer.installPowerDNSConfigurations(InstallCyberPanel.mysqlPassword, mysql)
|
||||
installer.startPowerDNS()
|
||||
Loading…
Reference in New Issue