From 233cbdea41e71649c40f16eab7a107372b663d31 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Thu, 19 Sep 2019 12:55:06 +0200 Subject: [PATCH] try to prevent nodm from restarting on shutdown --- modules/nodm.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/nodm.mk b/modules/nodm.mk index 2d3b6ee..a2d3662 100644 --- a/modules/nodm.mk +++ b/modules/nodm.mk @@ -35,6 +35,7 @@ endif .PHONY: _nodm_user _nodm_cfg _nodm_cfg: ${CFGROOT} + sed -Ei 'TimeoutStopSec=2' "$${CFGROOT}/lib/systemd/system/nodm.service" rm "$${CFGROOT}/etc/default/nodm" chroot "$${CFGROOT}" dpkg-reconfigure --default-priority -u nodm -- 2.39.2