bug fix: csf causing bug while site creation

This commit is contained in:
usmannasir
2024-10-07 14:04:31 +05:00
parent d86dab995d
commit d00d38fc52

View File

@@ -3553,7 +3553,7 @@ pm.max_spare_servers = 3
Upgrade.executioner(command, 'fix csf if there', 0)
if os.path.exists('/usr/local/CyberCP/configservercsf'):
command = 'cat /dev/null > /usr/local/CyberCP/configservercsf/signals.py'
command = 'rm -f /usr/local/CyberCP/configservercsf/signals.py'
Upgrade.executioner(command, 'Start LSCPD', 1)