mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-10 23:36:11 +01:00
bug fix: child domain suspend
This commit is contained in:
@@ -570,6 +570,7 @@ class WebsiteManager:
|
|||||||
for items in childDomains:
|
for items in childDomains:
|
||||||
confPath = virtualHostUtilities.Server_root + "/conf/vhosts/" + items.domain
|
confPath = virtualHostUtilities.Server_root + "/conf/vhosts/" + items.domain
|
||||||
command = "mv " + confPath + " " + confPath + "-suspended"
|
command = "mv " + confPath + " " + confPath + "-suspended"
|
||||||
|
ProcessUtilities.executioner(command)
|
||||||
|
|
||||||
installUtilities.reStartLiteSpeedSocket()
|
installUtilities.reStartLiteSpeedSocket()
|
||||||
website.state = 0
|
website.state = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user