Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
francois
slapos
Commits
fcaa03d8
Commit
fcaa03d8
authored
Dec 08, 2014
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NEO: rotate MariaDB logs
parent
55902a94
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
software/neoppod/instance-neo-storage-mysql.cfg.in
software/neoppod/instance-neo-storage-mysql.cfg.in
+9
-0
software/neoppod/software.cfg
software/neoppod/software.cfg
+1
-1
No files found.
software/neoppod/instance-neo-storage-mysql.cfg.in
View file @
fcaa03d8
...
...
@@ -2,6 +2,7 @@
extends = {{ master_cfg }}
parts +=
neo-storage
logrotate-mysql
logrotate-storage
[mysqld]
...
...
@@ -64,3 +65,11 @@ backup = ${logrotate:backup}
name = neo-storage
log = ${neo-storage:logfile}
post = {{ bin_directory }}/slapos-kill -n neostorage -s RTMIN+1 ${:log}
[logrotate-mysql]
recipe = slapos.cookbook:logrotate.d
logrotate-entries = ${logrotate:logrotate-entries}
backup = ${logrotate:backup}
name = mariadb
log = ${my-cnf-parameters:error-log} ${my-cnf-parameters:slow-query-log}
post = ${mysqld:mysql-base-directory}/bin/mysql --defaults-file="${my-cnf:rendered}" -e "FLUSH LOGS"
software/neoppod/software.cfg
View file @
fcaa03d8
...
...
@@ -49,7 +49,7 @@ md5sum = 25724ba46203c57b680976dbe4ba67b7
[instance-neo-storage-mysql]
< = cluster
md5sum =
3fcf0e6146c62421f45fe9b3aeeb5cf5
md5sum =
70f7dfc268ceb677913c3a318656f834
[template-my-cnf]
recipe = slapos.recipe.build:download
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment