diff options
| author | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-06-10 09:10:09 +0200 |
|---|---|---|
| committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-06-10 09:10:09 +0200 |
| commit | f1c1b935b89963d18552e0d0b7e81fb2341a61ea (patch) | |
| tree | 7f8b6248a23e41dc5eb6c21f8af276c604f04128 /src/Daemon/Daemon.cpp | |
| parent | 11839b1f6e6e12731f3b779f554d4f2997a23c7d (diff) | |
| parent | 5a8e8a4678b380026bee7b6838fd11272112c9f3 (diff) | |
Merge branch 'master' of ssh://git.fedorahosted.org/git/abrt
Diffstat (limited to 'src/Daemon/Daemon.cpp')
| -rw-r--r-- | src/Daemon/Daemon.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Daemon/Daemon.cpp b/src/Daemon/Daemon.cpp index 3d8df570..d79d90a4 100644 --- a/src/Daemon/Daemon.cpp +++ b/src/Daemon/Daemon.cpp @@ -41,6 +41,7 @@ #include "CrashWatcher.h" #include "DebugDump.h" #include "Daemon.h" +#include "dumpsocket.h" using namespace std; @@ -848,6 +849,9 @@ int main(int argc, char** argv) throw 1; pidfile_created = true; + /* Open socket to receive new crashes. */ + dumpsocket_init(); + /* Note: this already may process a few dbus messages, * therefore it should be the last thing to initialize. */ @@ -899,6 +903,7 @@ int main(int argc, char** argv) /* Error or INT/TERM. Clean up, in reverse order. * Take care to not undo things we did not do. */ + dumpsocket_shutdown(); if (pidfile_created) unlink(VAR_RUN_PIDFILE); if (lockfile_created) |
