]> git.plutz.net Git - blast/blobdiff - modules/nodm.mk
try to prevent nodm from restarting on shutdown
[blast] / 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