Skip to content

Instantly share code, notes, and snippets.

@IftekharDani
Last active April 20, 2018 11:02
Show Gist options
  • Save IftekharDani/3b8c512d746a84d6b7d8592b966cf25c to your computer and use it in GitHub Desktop.
Save IftekharDani/3b8c512d746a84d6b7d8592b966cf25c to your computer and use it in GitHub Desktop.
Configure Logwatch in OS X
  1. Download the most current version of logwatch.

  2. Extract : tar xvf logwatch-7.3.6.tar

  3. cd to the logwatch directory created above.

  4. Install the logwatch package: sudo bash install_logwatch.sh

  5. Change location To : /usr/local/logwatch

  6. Copy the conf files and service script files into the new location:

    cp -r conf/* /etc/logwatch/conf/

    cp -r scripts/services/* /etc/logwatch/scripts/services

  7. Logwatch - symbolic link

    sudo ln -f -s /usr/local/logwatch/scripts/logwatch.pl /usr/local/bin/logwatch

  8. check proper install logwatch by :

    logwatch --help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment