Commits

Kevin Chan committed da44d17

Added README.

  • Participants
  • Parent commits 895a3ae
  • Tags 0.1.2

Comments (0)

Files changed (1)

+run-logcheck
+============
+
+run_logcheck is a simple wrapper script to check for a running
+logcheck process before starting a new one. This is used to prevent
+the annoying dogpiling effects of having logcheck processes running
+one after another and using up CPU and memory resources on a server.
+
+
+## Installation
+
+    cd to run-logcheck directory
+    ./install-scripts
+
+The installation script will copy the run_logcheck script to:
+
+    /usr/local/sbin
+
+
+## How to Use
+
+Update your /etc/cron.d/logcheck cronjob by substituting the default
+cron task with a task to execute run_logcheck:
+
+    RUN_LOGCHECK="/usr/local/sbin/run_logcheck"
+
+    #2 */8 * * *       logcheck    if [ -x /usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck; fi
+    2 * * * *          logcheck    "$RUN_LOGCHECK"
+