diff options
author | Christian Hesse <mail@eworm.de> | 2014-07-02 22:23:22 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2014-07-02 22:23:22 +0200 |
commit | 05b11c5931dfd261c9d05e28a39c65eaf7c568dd (patch) | |
tree | 1139d5f688e4b2f2e22ee6272dc71eebe4fd45d1 | |
parent | 10a2b5860b9d452f874ffcf6382aad0116fb98e0 (diff) | |
download | journal-notify-05b11c5931dfd261c9d05e28a39c65eaf7c568dd.tar.gz journal-notify-05b11c5931dfd261c9d05e28a39c65eaf7c568dd.tar.zst |
update regular expressions0.0.1
-rw-r--r-- | README.md | 2 | ||||
-rwxr-xr-x | examples/journal-notify-dhcpd.desktop | 2 | ||||
-rwxr-xr-x | examples/journal-notify-sshd.desktop | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -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 |