Last active
January 15, 2016 16:17
-
-
Save reedog117/76de3f8be70a28c1d0d7 to your computer and use it in GitHub Desktop.
Log rotation for monit on Mac OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Log rotation for monit on Mac OS X | |
# place in /etc/newsyslog.d | |
# sudo newsyslog -nvv to verify it's working | |
# logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] | |
/var/log/monit.log 644 5 2048 $M1D0 J /var/run/monit.pid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment