|
|
f6eb96 |
From f603b036b2039b044066b73c21646dad6f4c1de1 Mon Sep 17 00:00:00 2001
|
|
|
f6eb96 |
From: Jakub Filak <jfilak@redhat.com>
|
|
|
f6eb96 |
Date: Wed, 13 Nov 2013 08:25:52 +0100
|
|
|
f6eb96 |
Subject: [ABRT PATCH 72/76] move the notify event from dbus_event.conf to
|
|
|
f6eb96 |
abrt_event.conf
|
|
|
f6eb96 |
|
|
|
f6eb96 |
The notify event no longer uses only D-Bus, but it also runs the
|
|
|
f6eb96 |
autoreporting event.
|
|
|
f6eb96 |
|
|
|
f6eb96 |
Related to #750
|
|
|
f6eb96 |
|
|
|
f6eb96 |
Signed-off-by: Jakub Filak <jfilak@redhat.com>
|
|
|
f6eb96 |
---
|
|
|
f6eb96 |
doc/dbus_event.conf.5 | 1 -
|
|
|
f6eb96 |
src/daemon/abrt_event.conf | 8 ++++++++
|
|
|
f6eb96 |
src/dbus/Makefile.am | 3 ---
|
|
|
f6eb96 |
src/dbus/dbus_event.conf | 5 -----
|
|
|
f6eb96 |
5 files changed, 8 insertions(+), 10 deletions(-)
|
|
|
f6eb96 |
delete mode 100644 doc/dbus_event.conf.5
|
|
|
f6eb96 |
delete mode 100644 src/dbus/dbus_event.conf
|
|
|
f6eb96 |
|
|
|
f6eb96 |
diff --git a/src/daemon/abrt_event.conf b/src/daemon/abrt_event.conf
|
|
|
f6eb96 |
index c60ad50..a53001a 100644
|
|
|
f6eb96 |
--- a/src/daemon/abrt_event.conf
|
|
|
f6eb96 |
+++ b/src/daemon/abrt_event.conf
|
|
|
f6eb96 |
@@ -100,3 +100,11 @@ EVENT=post-create runlevel=
|
|
|
f6eb96 |
|
|
|
f6eb96 |
EVENT=open-gui
|
|
|
f6eb96 |
report-gtk -x -- "$DUMP_DIR"
|
|
|
f6eb96 |
+
|
|
|
f6eb96 |
+# Notify a new crash
|
|
|
f6eb96 |
+EVENT=notify package!=
|
|
|
f6eb96 |
+ abrt-action-notify -d $DUMP_DIR
|
|
|
f6eb96 |
+
|
|
|
f6eb96 |
+# Notify a new occurrence of a single crash
|
|
|
f6eb96 |
+EVENT=notify-dup package!=
|
|
|
f6eb96 |
+ abrt-action-notify -d $DUMP_DIR
|
|
|
f6eb96 |
diff --git a/src/dbus/Makefile.am b/src/dbus/Makefile.am
|
|
|
f6eb96 |
index 2eb32cf..ed0a2af 100644
|
|
|
f6eb96 |
--- a/src/dbus/Makefile.am
|
|
|
f6eb96 |
+++ b/src/dbus/Makefile.am
|
|
|
f6eb96 |
@@ -33,6 +33,3 @@ orgfreedesktopproblemsservicedir = ${datadir}/dbus-1/system-services
|
|
|
f6eb96 |
dist_orgfreedesktopproblemsservice_DATA = org.freedesktop.problems.service
|
|
|
f6eb96 |
|
|
|
f6eb96 |
eventsconfdir = $(EVENTS_CONF_DIR)
|
|
|
f6eb96 |
-
|
|
|
f6eb96 |
-dist_eventsconf_DATA = \
|
|
|
f6eb96 |
- dbus_event.conf
|
|
|
f6eb96 |
diff --git a/src/dbus/dbus_event.conf b/src/dbus/dbus_event.conf
|
|
|
f6eb96 |
deleted file mode 100644
|
|
|
f6eb96 |
index 499e484..0000000
|
|
|
f6eb96 |
--- a/src/dbus/dbus_event.conf
|
|
|
f6eb96 |
+++ /dev/null
|
|
|
f6eb96 |
@@ -1,5 +0,0 @@
|
|
|
f6eb96 |
-EVENT=notify package!=
|
|
|
f6eb96 |
- abrt-action-notify -d $DUMP_DIR
|
|
|
f6eb96 |
-
|
|
|
f6eb96 |
-EVENT=notify-dup package!=
|
|
|
f6eb96 |
- abrt-action-notify -d $DUMP_DIR
|
|
|
f6eb96 |
--
|
|
|
f6eb96 |
1.8.3.1
|
|
|
f6eb96 |
|