mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 05:45:59 +01:00
remove systemd-resolvd on cent8
This commit is contained in:
@@ -310,11 +310,12 @@ class ServerStatusUtil:
|
||||
pass
|
||||
|
||||
if os.path.exists('/etc/redhat-release'):
|
||||
command = 'yum remove -y openlitespeed'
|
||||
|
||||
command = 'yum -y erase openlitespeed'
|
||||
else:
|
||||
command = "apt-get -y remove openlitespeed"
|
||||
|
||||
ServerStatusUtil.executioner(command, FNULL)
|
||||
ServerStatusUtil.executioner(command, statusFile)
|
||||
|
||||
logging.CyberCPLogFileWriter.statusWriter(ServerStatusUtil.lswsInstallStatusPath,
|
||||
"OpenLiteSpeed removed.\n", 1)
|
||||
|
||||
Reference in New Issue
Block a user