mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-27 01:39:03 +01:00
Merge branch 'stable' into p3
This commit is contained in:
@@ -2142,12 +2142,26 @@ failovermethod=priority
|
||||
Upgrade.upgradeVersion()
|
||||
Upgrade.UpdateMaxSSLCons()
|
||||
|
||||
## Update LSCPD PHP
|
||||
|
||||
phpPath = '/usr/local/lscp/fcgi-bin/lsphp'
|
||||
|
||||
try:
|
||||
os.remove(phpPath)
|
||||
except:
|
||||
pass
|
||||
|
||||
command = 'cp /usr/local/lsws/lsphp73/bin/lsphp %s' % (phpPath)
|
||||
Upgrade.executioner(command, 0)
|
||||
|
||||
|
||||
try:
|
||||
command = "systemctl start lscpd"
|
||||
Upgrade.executioner(command, 'Start LSCPD', 0)
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
command = 'csf -uf'
|
||||
Upgrade.executioner(command, 'fix csf if there', 0)
|
||||
command = 'systemctl start cpssh'
|
||||
|
||||
Reference in New Issue
Block a user