summaryrefslogtreecommitdiff
path: root/src/core/system.conf
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-23 23:13:06 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-29 21:55:51 +0200
commitb9e74c399458a1146894ce371e7d85c60658110c (patch)
tree3592450b9930466a0e56d1289845c4de1b669394 /src/core/system.conf
parent3607810227b346ea151e4442579ea56b28043963 (diff)
core: rework crash handling
This introduces a new systemd.crash_reboot=1 kernel command line option that triggers a reboot after crashing. This also cleans up crash VT handling. Specifically, it cleans up the configuration setting, to be between 1..63 or a boolean. This is to replace the previous logic where "-1" meant disabled. We continue to accept that setting, but only document the boolean syntax instead. This also brings the documentation of the default settings in sync with what actually happens. The CrashChVT= configuration file setting is renamed to CrashChangeVT=, following our usual logic of not abbreviating unnecessarily. The old setting stays support for compat reasons. Fixes #1300
Diffstat (limited to 'src/core/system.conf')
-rw-r--r--src/core/system.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/system.conf b/src/core/system.conf
index 231609033b..c30c595413 100644
--- a/src/core/system.conf
+++ b/src/core/system.conf
@@ -17,9 +17,10 @@
#LogColor=yes
#LogLocation=no
#DumpCore=yes
-#CrashShell=no
#ShowStatus=yes
-#CrashChVT=1
+#CrashChangeVT=no
+#CrashShell=no
+#CrashReboot=no
#CPUAffinity=1 2
#JoinControllers=cpu,cpuacct net_cls,net_prio
#RuntimeWatchdogSec=0