diff options
author | Miroslav Lichvar <mlichvar@redhat.com> | 2011-06-08 14:45:24 +0200 |
---|---|---|
committer | Miroslav Lichvar <mlichvar@redhat.com> | 2011-06-09 17:05:35 +0200 |
commit | e495dd05e5c938008e9a1126985710b8e22d9ea6 (patch) | |
tree | f95deffc7a2c13559bb989213b034ad1e96a3f4c /src/plugins | |
parent | eef34b06afaaa645fe0619a9316d386b8c64267c (diff) | |
download | abrt-e495dd05e5c938008e9a1126985710b8e22d9ea6.tar.gz abrt-e495dd05e5c938008e9a1126985710b8e22d9ea6.tar.xz abrt-e495dd05e5c938008e9a1126985710b8e22d9ea6.zip |
add abrt-oops systemd service (trac#287)
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/Makefile.am | 5 | ||||
-rw-r--r-- | src/plugins/abrt-oops.service | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/plugins/Makefile.am b/src/plugins/Makefile.am index b041b060..a8d0f989 100644 --- a/src/plugins/Makefile.am +++ b/src/plugins/Makefile.am @@ -409,3 +409,8 @@ abrt_retrace_client_SOURCES = \ $(NSS_LIBS) DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ + +if HAVE_SYSTEMD +dist_systemdsystemunit_DATA = \ + abrt-oops.service +endif diff --git a/src/plugins/abrt-oops.service b/src/plugins/abrt-oops.service new file mode 100644 index 00000000..4911e2ba --- /dev/null +++ b/src/plugins/abrt-oops.service @@ -0,0 +1,9 @@ +[Unit] +Description=ABRT kernel log watcher +After=syslog.target + +[Service] +ExecStart=/usr/bin/abrt-dump-oops -d /var/spool/abrt -rwx /var/log/messages + +[Install] +WantedBy=multi-user.target |