diff --git a/copy_logs.sh b/copy_logs.sh index 446fda9a8..b6d2e7bcf 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