From 9a9e2882545ce45e57929a1b17137ef642e0df39 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 22 Feb 2022 13:13:53 +0900 Subject: [PATCH] Capture rabbitmq config files in CI Change-Id: I5cfa0fb39085af2da0a17e5249272c9bdb83a49c --- copy_logs.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/copy_logs.sh b/copy_logs.sh index a5765b2b1..1df240845 100755 --- a/copy_logs.sh +++ b/copy_logs.sh @@ -85,7 +85,10 @@ if which journalctl &> /dev/null; then sudo journalctl --no-pager > $LOG_DIR/syslog.txt fi -# rabbitmq logs +# rabbitmq +if [ -d /etc/rabbitmq ]; then + sudo cp -r /etc/rabbitmq $LOG_DIR/etc/ +fi if [ -d /var/log/rabbitmq ]; then sudo cp -r /var/log/rabbitmq $LOG_DIR fi