From 2696b0a16ced82722525754d241b5fb5f80790fd Mon Sep 17 00:00:00 2001 From: Willy Tu Date: Sat, 14 Aug 2021 18:38:58 -0700 Subject: meta-google: Add new system.conf for gbmc-systemd-config Add systemd.conf options for watchdog to replace watchdog-conf ``` // interval is 60s by default interval = 10 watchdog-device = /dev/watchdog // The value is in pages. They are presently 4KiB each. // Reset the BMC if it goes below 3MiB min-memory = 768 ``` Tested: ``` $ cat /lib/systemd/system.conf.d/40-system.conf [Manager] DefaultMemoryAccounting=yes RuntimeWatchdogSec=10s WatchdogDevice=/dev/watchdog ``` Change-Id: I51171746669dfeb1efe6c09952efa3457e33c86b Signed-off-by: Willy Tu --- meta-google/recipes-google/systemd/files/40-system.conf | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 meta-google/recipes-google/systemd/files/40-system.conf (limited to 'meta-google/recipes-google/systemd/files') diff --git a/meta-google/recipes-google/systemd/files/40-system.conf b/meta-google/recipes-google/systemd/files/40-system.conf new file mode 100644 index 000000000..5f770d01f --- /dev/null +++ b/meta-google/recipes-google/systemd/files/40-system.conf @@ -0,0 +1,4 @@ +[Manager] +DefaultMemoryAccounting=yes +RuntimeWatchdogSec=10s +WatchdogDevice=/dev/watchdog -- cgit v1.2.3