fix logrotate config on debian

This commit is contained in:
thomas morgan
2017-05-18 13:11:30 -06:00
parent d747e146a6
commit 653d6ca1eb

View File

@@ -60,7 +60,7 @@ $DOKKU_LOGS_DIR/*.log {
EOF
if [[ "$DOKKU_DISTRO" = "debian" ]]; then
sed -i 's/ syslog dokku$/root dokku/g' $DOKKU_LOGROTATE_FILE
sed -i 's/ syslog dokku$/ root dokku/g' $DOKKU_LOGROTATE_FILE
fi
flag_rsyslog_needs_restart=y