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