aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-10-12 21:35:26 +0300
committerJan Tuomi <jan@jantuomi.fi>2025-10-12 21:35:26 +0300
commitd54d560321a184cc515e0d07792305e95c2edf84 (patch)
tree1241df01f0261439760a405916e5d4c999261255 /README.md
parentabbcabbf057d40d8f95870800fb6f8c84e1b6128 (diff)
0.2.1: Update docs
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 5 insertions, 4 deletions
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