From 08d1155752355e36443d15316650881e84ad187e Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 14 Feb 2015 21:56:35 +0100 Subject: [PATCH] systemd: Enable the hardware watchdog for the IDU as well The built-in watchdog even allows setting the watchdog interval --- .../systemd/systemd/sysmocom-idu/system.conf | 43 +++++++++++++++++++ recipes-fixes/systemd/systemd_sysmocom.inc | 1 + 2 files changed, 44 insertions(+) create mode 100644 recipes-fixes/systemd/systemd/sysmocom-idu/system.conf diff --git a/recipes-fixes/systemd/systemd/sysmocom-idu/system.conf b/recipes-fixes/systemd/systemd/sysmocom-idu/system.conf new file mode 100644 index 0000000..ff9ecb8 --- /dev/null +++ b/recipes-fixes/systemd/systemd/sysmocom-idu/system.conf @@ -0,0 +1,43 @@ +# 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 systemd.conf(5) for details + +[Manager] +#LogLevel=info +#LogTarget=journal-or-kmsg +#LogColor=yes +#LogLocation=no +#DumpCore=yes +#CrashShell=no +#ShowStatus=yes +#CrashChVT=1 +#CPUAffinity=1 2 +#DefaultControllers=cpu +#DefaultStandardOutput=journal +#DefaultStandardError=inherit +#JoinControllers=cpu,cpuacct,cpuset net_cls,net_prio +RuntimeWatchdogSec=60 +ShutdownWatchdogSec=60 +#CapabilityBoundingSet= +#TimerSlackNSec= +#DefaultLimitCPU= +#DefaultLimitFSIZE= +#DefaultLimitDATA= +#DefaultLimitSTACK= +#DefaultLimitCORE= +#DefaultLimitRSS= +#DefaultLimitNOFILE= +#DefaultLimitAS= +#DefaultLimitNPROC= +#DefaultLimitMEMLOCK= +#DefaultLimitLOCKS= +#DefaultLimitSIGPENDING= +#DefaultLimitMSGQUEUE= +#DefaultLimitNICE= +#DefaultLimitRTPRIO= +#DefaultLimitRTTIME= diff --git a/recipes-fixes/systemd/systemd_sysmocom.inc b/recipes-fixes/systemd/systemd_sysmocom.inc index ba573c7..89720e9 100644 --- a/recipes-fixes/systemd/systemd_sysmocom.inc +++ b/recipes-fixes/systemd/systemd_sysmocom.inc @@ -10,6 +10,7 @@ SRC_URI += "file://journald.conf \ SRC_URI_append_sysmobts-v1 = " file://system.conf" SRC_URI_append_sysmobts-v2 = " file://system.conf" SRC_URI_append_sysmocom-odu = " file://system.conf" +SRC_URI_append_sysmocom-idu = " file://system.conf" # Disable depedency on dbus RDEPENDS_${PN}_remove = "dbus"