aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rwxr-xr-xexamples/journal-notify-dhcpd.desktop2
-rwxr-xr-xexamples/journal-notify-sshd.desktop2
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