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