Commits

Zhang Huangbin committed 0a45ab0

Add missing rotate config for iRedAPD log file on FreeBSD, OpenBSD.

  • Participants
  • Parent commits 19a0c91

Comments (0)

Files changed (2)

iRedMail/ChangeLog

     * Enforce connections over https in Roundcube.
     * Fix incorrect MySQL user password and databases in MySQL backup script.
     * Fixed:
+        + Add missing rotate config for iRedAPD log file on FreeBSD, OpenBSD.
         + Add missing config and SQL table required for sharing IMAP folder to
           anyone. Thanks BigMichi1 <bigmichi1 _at_ bigmichi1.de>.
         + Add missing auth service in Dovecot-2: auth-userdb.

iRedMail/functions/iredapd.sh

     endscript
 }
 EOF
-    elif [ X"${KERNEL_NAME}" == X'OPENBSD' ]; then
+    elif [ X"${KERNEL_NAME}" == X'FREEBSD' -o X"${KERNEL_NAME}" == X'OPENBSD' ]; then
         if ! grep 'iredapd.log' /etc/newsyslog.conf &>/dev/null; then
             cat >> /etc/newsyslog.conf <<EOF
 ${IREDAPD_LOG_FILE}    ${SYS_ROOT_USER}:${SYS_ROOT_GROUP}   640  7     *    24    Z "${DIR_RC_SCRIPTS}/iredapd restart"