summaryrefslogtreecommitdiff
path: root/sysctl.d
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-01-14 00:37:35 +0100
committerLennart Poettering <lennart@poettering.net>2012-01-14 01:54:33 +0100
commitf5e04665ebf7124f3ea17dcf258793ed73a95fe1 (patch)
tree8b0a50690d076f3ea327d3aa9fa28da5ec53291e /sysctl.d
parent755a02c6800246e7e293897d0594fe7e7531ba59 (diff)
journal: hook up coredumping with journal
Diffstat (limited to 'sysctl.d')
-rw-r--r--sysctl.d/.gitignore1
l---------sysctl.d/Makefile1
-rw-r--r--sysctl.d/coredump.conf.in10
3 files changed, 12 insertions, 0 deletions
diff --git a/sysctl.d/.gitignore b/sysctl.d/.gitignore
new file mode 100644
index 0000000000..7563539ab0
--- /dev/null
+++ b/sysctl.d/.gitignore
@@ -0,0 +1 @@
+/coredump.conf
diff --git a/sysctl.d/Makefile b/sysctl.d/Makefile
new file mode 120000
index 0000000000..bd1047548b
--- /dev/null
+++ b/sysctl.d/Makefile
@@ -0,0 +1 @@
+../src/Makefile \ No newline at end of file
diff --git a/sysctl.d/coredump.conf.in b/sysctl.d/coredump.conf.in
new file mode 100644
index 0000000000..ab19b1e988
--- /dev/null
+++ b/sysctl.d/coredump.conf.in
@@ -0,0 +1,10 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+# See sysctl.d(5) for details
+
+kernel.core_pattern=|@rootlibexecdir@/systemd-coredump %p %u %g %s %t %e