From d54d560321a184cc515e0d07792305e95c2edf84 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sun, 12 Oct 2025 21:35:26 +0300 Subject: 0.2.1: Update docs --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index ef3bdb5..94cfc41 100644 --- a/README.md +++ b/README.md @@ -38,10 +38,10 @@ pip install pylogsentinel chmod 600 /etc/pylogsentinel.conf ``` 2. Edit paths, rules, and actions to your needs. -3. Add a cron entry (run every minute): +3. First build state without executing actions (initial run with --skip-actions): ``` - * * * * * /usr/bin/env python3 -m pylogsentinel -c /etc/pylogsentinel.conf + python -m pylogsentinel -c /etc/pylogsentinel.conf --skip-actions ``` If you omit the `-c` option (or the specified file does not exist), pylogsentinel will look for a configuration file in this order: @@ -50,9 +50,10 @@ pip install pylogsentinel - `/etc/pylogsentinel.conf` - `/usr/local/etc/pylogsentinel.conf`. -4. First build state without executing actions (initial run with --skip-actions): +4. Add a cron entry (run every minute): + ``` - python -m pylogsentinel -c /etc/pylogsentinel.conf --skip-actions + * * * * * /usr/bin/env python3 -m pylogsentinel -c /etc/pylogsentinel.conf ``` ## Configuration File Reference -- cgit v1.3