mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-14 17:26:17 +01:00
bug fix: enable/disable services
This commit is contained in:
@@ -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()
|
||||
Reference in New Issue
Block a user