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_email_Passwords(installCyberPanel.InstallCyberPanel.mysqlPassword, mysql)
|
||||||
checks.setup_postfix_davecot_config(mysql)
|
checks.setup_postfix_davecot_config(mysql)
|
||||||
else:
|
else:
|
||||||
if args.postfix == 'On':
|
if args.postfix == 'ON':
|
||||||
checks.install_postfix_davecot()
|
checks.install_postfix_davecot()
|
||||||
checks.setup_email_Passwords(installCyberPanel.InstallCyberPanel.mysqlPassword, mysql)
|
checks.setup_email_Passwords(installCyberPanel.InstallCyberPanel.mysqlPassword, mysql)
|
||||||
checks.setup_postfix_davecot_config(mysql)
|
checks.setup_postfix_davecot_config(mysql)
|
||||||
@@ -2291,7 +2291,7 @@ def main():
|
|||||||
checks.installOpenDKIM()
|
checks.installOpenDKIM()
|
||||||
checks.configureOpenDKIM()
|
checks.configureOpenDKIM()
|
||||||
else:
|
else:
|
||||||
if args.postfix == 'On':
|
if args.postfix == 'ON':
|
||||||
checks.installOpenDKIM()
|
checks.installOpenDKIM()
|
||||||
checks.configureOpenDKIM()
|
checks.configureOpenDKIM()
|
||||||
|
|
||||||
|
|||||||
@@ -622,7 +622,7 @@ def Main(cwd, mysql, distro, ent, serial = None, port = "8090", ftp = None, dns
|
|||||||
installer.installPureFTPDConfigurations(mysql)
|
installer.installPureFTPDConfigurations(mysql)
|
||||||
installer.startPureFTPD()
|
installer.startPureFTPD()
|
||||||
else:
|
else:
|
||||||
if ftp == 'On':
|
if ftp == 'ON':
|
||||||
installer.installPureFTPD()
|
installer.installPureFTPD()
|
||||||
installer.installPureFTPDConfigurations(mysql)
|
installer.installPureFTPDConfigurations(mysql)
|
||||||
installer.startPureFTPD()
|
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.installPowerDNSConfigurations(InstallCyberPanel.mysqlPassword, mysql)
|
||||||
installer.startPowerDNS()
|
installer.startPowerDNS()
|
||||||
else:
|
else:
|
||||||
if dns == 'On':
|
if dns == 'ON':
|
||||||
installer.installPowerDNS()
|
installer.installPowerDNS()
|
||||||
installer.installPowerDNSConfigurations(InstallCyberPanel.mysqlPassword, mysql)
|
installer.installPowerDNSConfigurations(InstallCyberPanel.mysqlPassword, mysql)
|
||||||
installer.startPowerDNS()
|
installer.startPowerDNS()
|
||||||
Reference in New Issue
Block a user