1. Zhang Huangbin
  2. iredmail
  3. Issues
Issue #3 resolved

Invalid syntax in newsyslog.conf (FreeBSD)

vic viq
created an issue

/etc/newsyslog.conf contains line:

logfilename [owner:group] mode count size when flags [/pid_file] [sig_num]

/var/log/iredapd.log root:wheel 640 7 * 24 Z "/usr/local/etc/rc.d/iredapd restart"

where newsyslog.conf doesn't allow arbitrary commands, only path to pidfile and a signal to send to process referenced in the pid file.