summaryrefslogtreecommitdiff
path: root/src/journal/coredump.conf
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-06-18 22:02:18 +0200
committerLennart Poettering <lennart@poettering.net>2014-06-19 00:00:24 +0200
commit34c10968cbe3b5591b3c0ce225b8694edd9709d0 (patch)
tree3f708515fbe0eff8c66f9a140c5be027ac00f664 /src/journal/coredump.conf
parent3bdace9bf779ce051f00c14914b35c3a26164aa9 (diff)
coredump: optionally store coredumps on disk, not in the journal
Introduce a new configuration file /etc/systemd/coredump.conf to configure when to place coredumps in the journal and when on disk. Since the coredumps are quite large, default to storing them only on disk.
Diffstat (limited to 'src/journal/coredump.conf')
-rw-r--r--src/journal/coredump.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/journal/coredump.conf b/src/journal/coredump.conf
new file mode 100644
index 0000000000..53e471ed70
--- /dev/null
+++ b/src/journal/coredump.conf
@@ -0,0 +1,14 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+#
+# See coredump.conf(5) for details
+
+[Coredump]
+#Storage=external
+#ProcessSizeMax=2G
+#ExternalSizeMax=2G
+#JournalSizeMax=767M