Remove logrotate salt-common configuration

This commit is contained in:
Carlos Álvaro
2018-12-27 20:15:18 +01:00
parent 7f39109598
commit 1b02e23102

View File

@@ -202,6 +202,10 @@ function configure_logrotate()
{
echo "Configuring logrotate ..."
if [[ -f /etc/logrotate.d/salt-common ]]; then
rm /etc/logrotate.d/salt-common
fi
# configure supervisord log rotation
cat > /etc/logrotate.d/supervisord <<EOF
${SALT_LOGS_DIR}/supervisor/*.log {