1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00

when running mtr tests don't let galera-started rsyncd to log to syslog

This commit is contained in:
Sergei Golubchik
2014-10-02 18:54:01 +02:00
parent 251239af67
commit ebe4fadcd5

View File

@@ -259,11 +259,18 @@ then
RSYNC_CONF="$WSREP_SST_OPT_DATA/$MODULE.conf"
if [ -n "$MYSQL_TMP_DIR" ] ; then
SILENT="log file = $MYSQL_TMP_DIR/rsynd.log"
else
SILENT=""
fi
cat << EOF > "$RSYNC_CONF"
pid file = $RSYNC_PID
use chroot = no
read only = no
timeout = 300
$SILENT
[$MODULE]
path = $WSREP_SST_OPT_DATA
[$MODULE-log_dir]