Commits

Zhang Huangbin committed c45bdbb

Code cleanup.

  • Participants
  • Parent commits c242def

Comments (0)

Files changed (1)

iRedMail/functions/iredapd.sh

         if ! grep 'iredapd.log' /etc/newsyslog.conf &>/dev/null; then
             # Define command used to restart iRedAPD service after rotated
             cat >> /etc/newsyslog.conf <<EOF
-${IREDAPD_LOG_FILE}    ${SYS_ROOT_USER}:${SYS_ROOT_GROUP}   640  7     *    24    Z "${DIR_RC_SCRIPTS}/iredapd restart"
+${IREDAPD_LOG_FILE}    ${SYS_ROOT_USER}:${SYS_ROOT_GROUP}   640  7     *    24    Z "${DIR_RC_SCRIPTS}/iredapd restart >/dev/null"
 EOF
         fi
     fi