From 4c52864be87bcbacc521b4178e416a8088d6bbc4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Fri, 20 Sep 2019 00:37:07 +0200 Subject: [PATCH] shorter kill timeout for nodm termination --- modules/nodm.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nodm.mk b/modules/nodm.mk index 55267ba..6d8d760 100644 --- a/modules/nodm.mk +++ b/modules/nodm.mk @@ -35,7 +35,7 @@ endif .PHONY: _nodm_user _nodm_cfg _nodm_cfg: ${CFGROOT} - sed -Ei 's;^TimeoutStopSec=.*$$;TimeoutStopSec=2;' "$${CFGROOT}/lib/systemd/system/nodm.service" + sed -Ei 's;^TimeoutStopSec=.*$$;TimeoutStopSec=1;' "$${CFGROOT}/lib/systemd/system/nodm.service" rm "$${CFGROOT}/etc/default/nodm" chroot "$${CFGROOT}" dpkg-reconfigure --default-priority -u nodm -- 2.39.2