From 05b11c5931dfd261c9d05e28a39c65eaf7c568dd Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 2 Jul 2014 22:23:22 +0200 Subject: update regular expressions --- README.md | 2 +- examples/journal-notify-dhcpd.desktop | 2 +- examples/journal-notify-sshd.desktop | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c28a27d..d9a8022 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Be warned: This can flood your disktop with notifications. The screenshot shown above resulted from this command: -> journal-notify -m SYSLOG_IDENTIFIER=sshd -e -r "^(error:.\*|Accepted.\*)" +> journal-notify -m SYSLOG_IDENTIFIER=sshd -e -r "^(error:|Accepted)" -i security-high Additionally example desktop files are installed to diff --git a/examples/journal-notify-dhcpd.desktop b/examples/journal-notify-dhcpd.desktop index 092d6c4..f74b67a 100755 --- a/examples/journal-notify-dhcpd.desktop +++ b/examples/journal-notify-dhcpd.desktop @@ -2,7 +2,7 @@ Name=journal-notify-dhcpd GenericName=Journal-Notify DHCPD Comment=Notify about DHCP activities -Exec=journal-notify -m SYSLOG_IDENTIFIER=dhcpd -r "^DHCPN?ACK" -i network-wired +Exec=journal-notify -m SYSLOG_IDENTIFIER=dhcpd -e -r "^DHCPN?ACK" -i network-wired StartupNotify=false Terminal=false Type=Application diff --git a/examples/journal-notify-sshd.desktop b/examples/journal-notify-sshd.desktop index 688da64..efedcbf 100755 --- a/examples/journal-notify-sshd.desktop +++ b/examples/journal-notify-sshd.desktop @@ -2,7 +2,7 @@ Name=journal-notify-sshd GenericName=Journal-Notify SSHD Comment=Notify about SSH activities -Exec=journal-notify -m SYSLOG_IDENTIFIER=sshd -e -r "^(error:.*|Accepted.*)" -i security-high +Exec=journal-notify -m SYSLOG_IDENTIFIER=sshd -e -r "^(error:|Accepted)" -i security-high StartupNotify=false Terminal=false Type=Application -- cgit v1.2.3-54-g00ecf