diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2026-07-27 09:39:44 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2026-07-27 09:39:44 +0300 |
| commit | 0319c82fa4b93a9558f28b750ab948e76fd9251d (patch) | |
| tree | c27f963d9fecd2c45f72b243b0ccf3ab6838a2f4 /roles/host | |
| parent | 13a4fbe07992809b76d4679f173da59a746f0d4b (diff) | |
Fix pylogsentinel-batch-email.sh max email size
Diffstat (limited to 'roles/host')
| -rw-r--r-- | roles/host/templates/usr_local_bin_pylogsentinel-batch-email.sh.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/host/templates/usr_local_bin_pylogsentinel-batch-email.sh.j2 b/roles/host/templates/usr_local_bin_pylogsentinel-batch-email.sh.j2 index d28efd9..eebf1e7 100644 --- a/roles/host/templates/usr_local_bin_pylogsentinel-batch-email.sh.j2 +++ b/roles/host/templates/usr_local_bin_pylogsentinel-batch-email.sh.j2 @@ -8,7 +8,7 @@ if [ ! -f "$FILE" ]; then fi echo "Sending email" -cat "$FILE" | mail -s "pylogsentinel alert batch" root +cat "$FILE" | head -n 5000 | mail -s "pylogsentinel alert batch" root echo "Removing batch file" rm "$FILE" |
