Fix my.cnf identation
This commit is contained in:
@@ -1801,21 +1801,20 @@ class WOStackController(CementBaseController):
|
|||||||
WOFileUtils.searchreplace(self,
|
WOFileUtils.searchreplace(self,
|
||||||
"/etc/mysql/my.cnf",
|
"/etc/mysql/my.cnf",
|
||||||
"log_bin "
|
"log_bin "
|
||||||
" = /var/log/"
|
"= /var/log/mysql/"
|
||||||
"mysql/mariadb-bin",
|
"mariadb-bin",
|
||||||
"#log_bin "
|
"#log_bin "
|
||||||
" = /var/log/"
|
" = /var/log/"
|
||||||
"mysql/mariadb-bin")
|
"mysql/mariadb-bin")
|
||||||
WOFileUtils.searchreplace(self, "/etc/mysql/my.cnf",
|
WOFileUtils.searchreplace(self, "/etc/mysql/my.cnf",
|
||||||
"log_bin_index "
|
'log_bin_index '
|
||||||
"= /var/log/mysql/"
|
"= /var/log/mysql/"
|
||||||
"mariadb-bin.index",
|
"mariadb-bin.index",
|
||||||
"#log_bin_index "
|
"#log_bin_index "
|
||||||
"= /var/log/mysql/"
|
"= /var/log/mysql/"
|
||||||
"mariadb-bin.index")
|
"mariadb-bin.index")
|
||||||
WOFileUtils.searchreplace(self, "/etc/mysql/my.cnf",
|
WOFileUtils.searchreplace(self, "/etc/mysql/my.cnf",
|
||||||
"expire_logs_days "
|
"expire_logs_days = 10",
|
||||||
"= 10",
|
|
||||||
"#expire_logs_days "
|
"#expire_logs_days "
|
||||||
"= 10")
|
"= 10")
|
||||||
WOFileUtils.searchreplace(self, "/etc/mysql/my.cnf",
|
WOFileUtils.searchreplace(self, "/etc/mysql/my.cnf",
|
||||||
|
|||||||
Reference in New Issue
Block a user