diff options
author | Sergei Golubchik <serg@mariadb.org> | 2014-10-02 18:54:01 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2014-10-02 18:54:01 +0200 |
commit | ebe4fadcd5d1286d4c29b980185f32db2c5eaf59 (patch) | |
tree | 131b1a8fe397ab31c8ec9e27df006777bb93df62 /scripts/wsrep_sst_rsync.sh | |
parent | 251239af67dd20b68e95d58122bdb9a2beafe67f (diff) | |
download | mariadb-git-ebe4fadcd5d1286d4c29b980185f32db2c5eaf59.tar.gz |
when running mtr tests don't let galera-started rsyncd to log to syslog
Diffstat (limited to 'scripts/wsrep_sst_rsync.sh')
-rw-r--r-- | scripts/wsrep_sst_rsync.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/wsrep_sst_rsync.sh b/scripts/wsrep_sst_rsync.sh index 7bcc398c727..9a880b0218f 100644 --- a/scripts/wsrep_sst_rsync.sh +++ b/scripts/wsrep_sst_rsync.sh @@ -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] |