From ead9d6a55eed1a40715b5abc9e4c8adc58893927 Mon Sep 17 00:00:00 2001 From: ptQa Date: Sat, 6 Feb 2016 22:30:05 +0100 Subject: [PATCH] By default logrotate rotates only *.log. Change log files paths. --- templates/default/rabbitmq.upstart.conf.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/default/rabbitmq.upstart.conf.erb b/templates/default/rabbitmq.upstart.conf.erb index 9389ee68..1b5eedeb 100644 --- a/templates/default/rabbitmq.upstart.conf.erb +++ b/templates/default/rabbitmq.upstart.conf.erb @@ -19,7 +19,7 @@ pre-start script fi end script -exec /usr/sbin/rabbitmq-server > /var/log/rabbitmq/startup_log \ - 2> /var/log/rabbitmq/startup_err +exec /usr/sbin/rabbitmq-server > /var/log/rabbitmq/startup.log \ + 2> /var/log/rabbitmq/startup_err.log post-start exec /usr/sbin/rabbitmqctl wait $RABBITMQ_PID_FILE >/dev/null 2>&1