Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Samuel Thibault
mariadb-10.1
Commits
0c3b8bd9
Commit
0c3b8bd9
authored
Sep 14, 2014
by
Otto Kekäläinen
Browse files
Import improvements in the mysql-5.5 Debian git repository up and until commit 26dbcd7b
parent
f5177d97
Changes
2
Hide whitespace changes
Inline
Side-by-side
debian/mariadb-server-10.0.install
View file @
0c3b8bd9
etc
/
apparmor
.
d
/
usr
.
sbin
.
mysqld
etc
/
mysql
/
conf
.
d
/
mysqld_safe_syslog
.
cnf
etc
/
mysql
/
conf
.
d
/
mysqld_safe_syslog
.
cnf
etc
/
mysql
/
debian
-
start
etc
/
mysql
/
debian
-
start
usr
/
bin
/
aria_chk
usr
/
bin
/
aria_chk
...
...
debian/mariadb-server-10.0.mysql-server.logrotate
View file @
0c3b8bd9
# - I put everything in one block and added sharedscripts, so that mysql gets
# - I put everything in one block and added sharedscripts, so that mysql gets
# flush-logs'd only once.
# flush-logs'd only once.
# Else the binary logs would automatically increase by n times every day.
# Else the binary logs would automatically increase by n times every day.
# - The error log is obsolete, messages go to syslog now.
# - The error log is obsolete, messages go to syslog now.
/var/log/mysql.log /var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log {
/var/log/mysql.log /var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log
/var/log/mysql/error.log
{
daily
daily
rotate 7
rotate 7
missingok
missingok
...
@@ -12,14 +12,14 @@
...
@@ -12,14 +12,14 @@
postrotate
postrotate
test -x /usr/bin/mysqladmin || exit 0
test -x /usr/bin/mysqladmin || exit 0
# If this fails, check debian.conf!
# If this fails, check debian.conf!
MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
if [ -z "`$MYADMIN ping 2>/dev/null`" ]; then
if [ -z "`$MYADMIN ping 2>/dev/null`" ]; then
# Really no mysqld or rather a missing debian-sys-maint user?
# Really no mysqld or rather a missing debian-sys-maint user?
# If this occurs and is not a error please report a bug.
# If this occurs and is not a error please report a bug.
if ps cax | grep -q mysqld; then
if ps cax | grep -q mysqld; then
exit 1
exit 1
fi
fi
else
else
$MYADMIN flush-logs
$MYADMIN flush-logs
fi
fi
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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