mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-07 22:06:05 +01:00
bug fix: cluster path for centos
This commit is contained in:
@@ -48,7 +48,7 @@ class ClusterManager:
|
|||||||
def FetchMySQLConfigFile(self):
|
def FetchMySQLConfigFile(self):
|
||||||
|
|
||||||
if ProcessUtilities.decideDistro() == ProcessUtilities.centos:
|
if ProcessUtilities.decideDistro() == ProcessUtilities.centos:
|
||||||
return '/etc/my.cnf.d//cluster.cnf'
|
return '/etc/my.cnf.d/cluster.cnf'
|
||||||
else:
|
else:
|
||||||
return '/etc/mysql/conf.d/cluster.cnf'
|
return '/etc/mysql/conf.d/cluster.cnf'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user