]> git.plutz.net Git - blast/commitdiff
try to prevent nodm from restarting on shutdown
authorPaul Hänsch <paul@plutz.net>
Thu, 19 Sep 2019 10:55:06 +0000 (12:55 +0200)
committerPaul Hänsch <paul@plutz.net>
Thu, 19 Sep 2019 10:55:06 +0000 (12:55 +0200)
modules/nodm.mk

index 2d3b6ee12c4f46693939f346ba86c782ed3fc9d1..a2d36622a5fb3f01fda84e497aa540133ae52cb9 100644 (file)
@@ -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