diff options
| author | Karel Klic <kklic@redhat.com> | 2010-05-04 19:02:57 +0200 |
|---|---|---|
| committer | Nikola Pajkovsky <npajkovs@redhat.com> | 2010-05-12 15:44:49 +0200 |
| commit | 91c7c2ee8fa9ab6c29a7ddc64cff1fa9f5e2918a (patch) | |
| tree | 3f3a6e6c6725f031367420088ea9fe3b8bf5ed72 /src/Daemon/Daemon.cpp | |
| parent | 94a67f5d3edd6ac842cc3d7feea9e1954ee58a37 (diff) | |
| download | abrt-91c7c2ee8fa9ab6c29a7ddc64cff1fa9f5e2918a.tar.gz abrt-91c7c2ee8fa9ab6c29a7ddc64cff1fa9f5e2918a.tar.xz abrt-91c7c2ee8fa9ab6c29a7ddc64cff1fa9f5e2918a.zip | |
Daemon socket for reporting crashes
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 b75af52b..bedc912b 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; @@ -844,6 +845,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. */ @@ -895,6 +899,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) |
