SYSTEMD: watchdog: limit time for shutdown watchdog

Change-Id: Ic855a71f1e96932cfccfe352dab98859d12a1471
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
This commit is contained in:
Christophe Priouzeau authored and Romuald Jeanne committed 2023-08-03 12:11:53 +02:00
1 parent 85b8afb05a
commit 8c00c5ebf3
1 file changed
+3 -1
+3 -1
View File
@@ -4,6 +4,8 @@ do_install:append:stm32mpcommon() {
install -d ${D}${systemd_unitdir}/system.conf.d/ install -d ${D}${systemd_unitdir}/system.conf.d/
echo "[Manager]" > ${D}${systemd_unitdir}/system.conf.d/01-watchdog.conf echo "[Manager]" > ${D}${systemd_unitdir}/system.conf.d/01-watchdog.conf
echo "RuntimeWatchdogSec=32" >> ${D}${systemd_unitdir}/system.conf.d/01-watchdog.conf echo "RuntimeWatchdogSec=32" >> ${D}${systemd_unitdir}/system.conf.d/01-watchdog.conf
echo "ShutdownWatchdogSec=2min" >> ${D}${systemd_unitdir}/system.conf.d/01-watchdog.conf echo "ShutdownWatchdogSec=32" >> ${D}${systemd_unitdir}/system.conf.d/01-watchdog.conf
echo "RebootWatchdogSec=32" >> ${D}${systemd_unitdir}/system.conf.d/01-watchdog.conf
fi fi
} }